コード例 #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
ファイル: mazegen.cs プロジェクト: Rhiojin/TheMinoMaze
	void Awake()  { instance = this; MakeBlocks(); }