コード例 #1
0
 public TestStateFirst(Action startCallback, Action exitCallback) : base(startCallback, exitCallback)
 {
     CanMoveToStates.Add(typeof(TestStateSecond));
 }
 public PlayerMovingState()
 {
     CanMoveToStates.Add(typeof(PlayerIdleState));
 }
コード例 #3
0
 public GameStateLoading(MonoBehaviour coroutineRunner)
 {
     _coroutineRunner = coroutineRunner;
     CanMoveToStates.Add(typeof(GameStatePlaying));
 }
コード例 #4
0
 public GameStatePlaying(GameSession session)
 {
     _session = session;
     CanMoveToStates.Add(typeof(GameStateGameOver));
 }