Exemple #1
0
    private void AddMazeGrid()
    {
        GameObject goMazeGrid = preFactory.GetMazeGrid();

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

        CSGameObject.AddChildResetPos(goMazeGrid, this.gameObject);
        scrGrid = goMazeGrid.GetComponent <SCRGrid>();
        LoadMap();
    }
Exemple #3
0
 public void Init(SCRGrid scrGrid, int uIndex)
 {
     this.scrGrid = scrGrid;
     this.uIndex  = uIndex;
     CleanAllLine();
     _goNonDown.SetActive(false);
     _goNonRight.SetActive(false);
 }