Skip to content

Commit 2878c55

Browse files
Update EntityComponent.cs
1 parent 7e629d1 commit 2878c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/EntityComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void Destroy () =>
5050
UnityEngine.Object.Destroy (this.gameObject);
5151

5252
/// 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) =>
53+
public void GetComponentToProperty<UnityComponentType> (ref UnityComponentType entityProperty, bool includeChildren = false, bool includeInactive = false) =>
5454
entityProperty = includeChildren == true
5555
? this.GetComponentInChildren<UnityComponentType> (includeInactive)
5656
: this.GetComponent<UnityComponentType> ();

0 commit comments

Comments
 (0)