Esempio n. 1
0
 // Called when the player is caught.
 private void OnPlayerCaught(WallSegment wall)
 {
     Graffiti.PaintingEnabled = false;
     CancelGameplayTimers();
     GlobalAudioController.TransitionState("Sting");
     GlobalAudioController.Play("VO", bustedVO);
     GlobalAudioController.Play("Stings", bustedSting);
     TimerManager.Schedule(5).OnComplete(() => {
         Manager.SwitchState("Game Over");
     });
 }
Esempio n. 2
0
 // Initialize this game state.
 public override void OnInitializeState()
 {
     base.OnInitializeState();
     GlobalAudioController.TransitionState("Equal");
 }