Esempio n. 1
0
    private void SetReferences()
    {
        music       = GameObject.FindGameObjectWithTag(musicObjectTag).GetComponent <MusicManager>();
        audioSource = GetComponent <AudioSource>();
        PauseAudioSettings pauseAudio = new PauseAudioSettings(audioSource, music, sound);

        pause = new PauseStateManager(pauseMenu, weaponMenu, pauseAudio);
    }
Esempio n. 2
0
 public PauseMenuState(PauseStateManager pauseStateManager)
 {
     this.pauseStateManager = pauseStateManager;
 }
Esempio n. 3
0
 public UnpausedState(PauseStateManager pauseStateManager)
 {
     this.pauseStateManager = pauseStateManager;
 }
Esempio n. 4
0
 public WeaponMenuState(PauseStateManager pauseStateManager)
 {
     this.pauseStateManager = pauseStateManager;
 }