private void SubmitName(string arg0) { Debug.Log(arg0); GameObject GM = GameObject.Find("GameManager"); mazegen MZ = GM.GetComponent <mazegen>(); MZ.xSize = int.Parse(arg0); MZ.ySize = MZ.xSize; }
void Awake() { instance = this; MakeBlocks(); }