コード例 #1
0
ファイル: StateMachine.cs プロジェクト: Zopherus/FBLA-Game
 public bool IsInState(Type stateType)
 {
     if (_currentState == null)
     {
         return(false);
     }
     return(_currentState.GetType() == stateType);
 }