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