DaytimeManager.cs 522 Bytes
Newer Older
1
2
3
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
4
using UnityEngine.SceneManagement;
5
using UnityEngine.UI;
6
7
8
9
10

public class DaytimeManager : MonoBehaviour {

    public static float groundLevel = -4;

11
12
13
14
15
16
17
18
19
20
    public Canvas pauseMenu;
    private bool pauseMenuActive = false;

    void Start() {
        pauseMenu.gameObject.SetActive(false);
    }

    void Update() {
    }

21
   public static void beginPerformance() {
22
23
        SceneManager.LoadScene("NightMenu");
    }
24
}