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 7e629d1 commit 2878c55Copy full SHA for 2878c55
Runtime/EntityComponent.cs
@@ -50,7 +50,7 @@ public void Destroy () =>
50
UnityEngine.Object.Destroy (this.gameObject);
51
52
/// Gets a component on an enity and sets it's reference to a property.
53
- public void GetComponentToProperty<UnityComponentType> (ref UnityComponentType entityProperty, bool includeChildren = false, bool includeInactive) =>
+ public void GetComponentToProperty<UnityComponentType> (ref UnityComponentType entityProperty, bool includeChildren = false, bool includeInactive = false) =>
54
entityProperty = includeChildren == true
55
? this.GetComponentInChildren<UnityComponentType> (includeInactive)
56
: this.GetComponent<UnityComponentType> ();
0 commit comments