示例#1
0
    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;
    }
示例#2
0
 void Awake()
 {
     instance = this; MakeBlocks();
 }
示例#3
0
	void Awake()  { instance = this; MakeBlocks(); }