private void AddMazeGrid() { GameObject goMazeGrid = preFactory.GetMazeGrid(); CSGameObject.AddChildResetPos(goMazeGrid, _goGridPanel); scrGrid = goMazeGrid.GetComponent <SCRGrid>(); }
private void AddMazeGrid() { GameObject goMazeGrid = preFactory.GetMazeGrid(); CSGameObject.AddChildResetPos(goMazeGrid, this.gameObject); scrGrid = goMazeGrid.GetComponent <SCRGrid>(); LoadMap(); }