예제 #1
0
        public override void OnExit()
        {
            if (onExit == OnExitAction.Nothing)
            {
                return;
            }

            if (onExit == OnExitAction.RewindOnExit)
            {
                HOTween.Rewind(tweenID.Value);
            }
            else if (onExit == OnExitAction.PauseOnExit)
            {
                HOTween.Pause(tweenID.Value);
            }
        }
예제 #2
0
        public override void OnEnter()
        {
            HOTween.Rewind(tweenID.Value);

            Finish();
        }