Exemplo n.º 1
0
 //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));
 }
Exemplo n.º 2
0
 public void StartGame()
 {
     //unpause the game
     Time.timeScale = 1;
     _trackingManager.AddEvent(new EventStart(controls)); //add the "start" event
 }