Beispiel #1
0
        public async ETTask Close()
        {
            if (animation)
            {
                animation.DOPlayBackwards();
                Sate = UISetting.UISate.HideAnima;
                await YuoWait.WaitTimeAsync(animation.duration);
            }

            Sate = UISetting.UISate.Hide;
        }
Beispiel #2
0
        public async ETTask Open()
        {
            if (animation)
            {
                animation.DOPlayForward();
                Sate = UISetting.UISate.ShowAnima;
                await YuoWait.WaitTimeAsync(animation.duration);
            }

            Sate = UISetting.UISate.Show;
        }