Exemple #1
0
 public void StateChange(GameInterFace nextState)
 {
     actState = nextState;
     Debug.Log(actState);
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     actState = new GameStartState(this);
     gData    = GetComponent <GameData>();
 }