示例#1
0
 public override void Open()
 {
     base.Open();
     button.SetActive(false);
     MusicVolume.OpenSingleton();
     TimeController.ChangeState(TimeState.Slow);
     Controller.state = GameState.Pause;
 }
示例#2
0
    // Inspector

    private void Start()
    {
        Open();
        MusicVolume.OpenSingleton();
        Controller.state = GameState.Menu;
    }