We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e55a4 commit e0bf9f9Copy full SHA for e0bf9f9
Runtime/EntityComponent.cs
@@ -62,7 +62,7 @@ public void GetComponentToProperty<UnityComponentType> (ref UnityComponentType e
62
/// <typeparam name="UnityComponentType">The Component type.</typeparam>
63
/// <returns>A reference to the Component.</returns>
64
/// <exception cref="System.Exception"></exception>
65
- private UnityComponentType GetComponentOrThrow<UnityComponentType> () {
+ public UnityComponentType GetComponentOrThrow<UnityComponentType> () {
66
var _component = this.GetComponent<UnityComponentType> ();
67
if (_component != null)
68
return _component;
0 commit comments