Exemplo n.º 1
0
 private void Start()
 {
     gameEventStateMachine = GetComponent <GameEventStateMachine>();
     mainCamera            = Camera.main;
     normalState           = new GameStateNormal(tileHighLightSprite, mainCamera);
     gameEventStateMachine.ChangeState(normalState);
 }
Exemplo n.º 2
0
 public void BuildingPlaced(bool val)
 {
     normalState = new GameStateNormal(tileHighLightSprite, mainCamera);
     gameEventStateMachine.ChangeState(normalState);
 }