Exemple #1
0
 private void Update()
 {
     if (Input.GetKeyDown(Reset))
     {
         CreateNewGrid(XMod, ZMod);
     }
     if (Input.GetKeyDown(Load) && !JustLoaded)
     {
         saveMap.LoadLevel(LevelID);
         gridController2D.LoadGrid();
     }
 }