From eec74d0e2f03a6025eb1f3ad092bb5b5e35c6db1 Mon Sep 17 00:00:00 2001 From: Lyuma <xn.lyuma@gmail.com> Date: Mon, 13 Jul 2020 18:40:59 -0700 Subject: [PATCH] Fix parameter passing from child animators which are inactive on load --- Scripts/LyumaAv3Runtime.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/LyumaAv3Runtime.cs b/Scripts/LyumaAv3Runtime.cs index 9f4cb2a..23096ec 100644 --- a/Scripts/LyumaAv3Runtime.cs +++ b/Scripts/LyumaAv3Runtime.cs @@ -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) {