//start and end the powerup mode void StartFocusMode() { _gameManager.SetFocusMode(true); _focus = 10; _renderer.material = _powerupMaterial; _trackingManager.AddEvent(new EventPowerup(Time.fixedTime, this.gameObject.transform.position)); }
public void StartGame() { //unpause the game Time.timeScale = 1; _trackingManager.AddEvent(new EventStart(controls)); //add the "start" event }