Exemplo n.º 1
0
    private void AddMazeGrid()
    {
        GameObject goMazeGrid = preFactory.GetMazeGrid();

        CSGameObject.AddChildResetPos(goMazeGrid, _goGridPanel);
        scrGrid = goMazeGrid.GetComponent <SCRGrid>();
    }
Exemplo n.º 2
0
    private void AddMazeGrid()
    {
        GameObject goMazeGrid = preFactory.GetMazeGrid();

        CSGameObject.AddChildResetPos(goMazeGrid, this.gameObject);
        scrGrid = goMazeGrid.GetComponent <SCRGrid>();
        LoadMap();
    }