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); } }
public override void OnEnter() { HOTween.Rewind(tweenID.Value); Finish(); }