Skip to content

Commit

Permalink
Fix parameter passing from child animators which are inactive on load
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuma committed Jul 14, 2020
1 parent 522a465 commit eec74d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/LyumaAv3Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ void Awake()
playableBlendingStates.Clear();
actionIndex = fxIndex = gestureIndex = additiveIndex = sittingIndex = -1;

Animator[] animators = this.gameObject.GetComponentsInChildren<Animator>();
Animator[] animators = this.gameObject.GetComponentsInChildren<Animator>(true);
Debug.Log("anim len "+animators.Length);
foreach (Animator anim in animators)
{
Expand Down

0 comments on commit eec74d0

Please sign in to comment.