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