Beispiel #1
0
    public void GameOver()
    {
        Dictionary <string, object> info = new Dictionary <string, object>();

        info.Add("Total Rooms", countEvent);

        gm.SaveInfo(info);
        gm.LoadScene("Game Over");
    }
Beispiel #2
0
    void Start()
    {
        List <string> keys = new List <string>();

        keys.Add("Check Point");

        Dictionary <string, object> d = new Dictionary <string, object>();

        d = gm.GetInfo(keys);

        string scene = d["Check Point"] as string;

        gm.LoadScene(scene);
    }
Beispiel #3
0
 public void StartGame()
 {
     gameManager.LoadScene("Game");
 }
Beispiel #4
0
 public void BackMenu()
 {
     gm.LoadScene("Menu");
 }
Beispiel #5
0
 public void StartGame()
 {
     gm.LoadScene("Game");
 }