diff --git a/Runtime/UI/UIBase/UIHolderObjectBase.cs b/Runtime/UI/UIBase/UIHolderObjectBase.cs index 22e88af..c5e8092 100644 --- a/Runtime/UI/UIBase/UIHolderObjectBase.cs +++ b/Runtime/UI/UIBase/UIHolderObjectBase.cs @@ -25,6 +25,7 @@ namespace AlicizaX.UI.Runtime { AnimationFlow = transform.GetComponent(); } + await AnimationFlow.PlayAsync(name); } #endif @@ -63,6 +64,9 @@ namespace AlicizaX.UI.Runtime private void Awake() { _target = gameObject; +#if ALICIZAX_UI_ANIMATION_SUPPORT + AnimationFlow = GetComponent(); +#endif } private bool IsAlive = true;