public override void Update() { cameraTransition.Tick(); if (cameraTransition.IsReached) { SetNextState(); } }
public override void Update() { cameraTransition.Tick(); if (cameraTransition.IsReached) { if (!MainMenu.activeSelf) { MainMenu.SetActive(true); } StopThisState(); } }
public override void Update() { cameraTransition.Tick(); if (startTime > Time.time) { return; } if (gameMode.IsNextTurnReady) { SetNextState(); scoreChangeEvent.Raise(gameMode.PlayerGetPointsInTurn); gameMode.InitializeBallsForNextTurn(); } }
public override void Update() { if (!cameraTransition.IsReached) { cameraTransition.Tick(); } if (startTime > Time.time) { return; } if (gameMode.IsNextTurnReady) { SetNextState(); gameMode.InitializeBallsForNextTurn(); } }