예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (_currentState != null)
     {
         _currentState.Execute();
     }
 }
예제 #2
0
 public virtual void Execute()
 {
     _parentState?.Execute();
 }