public override void ActivateSwitch(bool b) { if (b) { GlobalController.AddState(this.gameState); } }
void Start() { foreach (GameState s in states) { GlobalController.AddState(s); } }