Example #1
0
 public void Init(MazeStructure mazeStruct, MazeCell[,,] cells, AudioSource lightOff)
 {
     this.cells = cells;
     this.path  = mazeStruct.Pathfind(mazeStruct.FindKey()[0]);
     this.sound = lightOff;
 }