示例#1
0
 //this sets up the grid
 void Awake()
 {
     mainGrid = new GridScript(gridManagerWidth, gridManagerHeight, X, Y);
     mainGrid.DrawGrid();
     gridObjects = GameObject.FindGameObjectsWithTag(gridObjectsTag);
     GameObjectPosition();
     TileCleaner();
     PlayerPrefs.SetString("choice", "Archer Tower");
     Debug.Log(PlayerPrefs.GetString("choice", "oof"));
 }