Update UIHolderObjectBase.cs
This commit is contained in:
parent
6284f33de6
commit
522c8802ae
@ -25,6 +25,7 @@ namespace AlicizaX.UI.Runtime
|
|||||||
{
|
{
|
||||||
AnimationFlow = transform.GetComponent<AnimationFlow.Runtime.AnimationFlow>();
|
AnimationFlow = transform.GetComponent<AnimationFlow.Runtime.AnimationFlow>();
|
||||||
}
|
}
|
||||||
|
|
||||||
await AnimationFlow.PlayAsync(name);
|
await AnimationFlow.PlayAsync(name);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -63,6 +64,9 @@ namespace AlicizaX.UI.Runtime
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
_target = gameObject;
|
_target = gameObject;
|
||||||
|
#if ALICIZAX_UI_ANIMATION_SUPPORT
|
||||||
|
AnimationFlow = GetComponent<AnimationFlow.Runtime.AnimationFlow>();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool IsAlive = true;
|
private bool IsAlive = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user