示例#1
0
 public void Start()
 {
     OnMachineEnter?.Invoke();
     current.Enter();
 }
示例#2
0
 public void TransitionTo(AbilityState next)
 {
     current.Exit();
     next.Enter();
     current = next;
 }