Ejemplo n.º 1
0
    public void OnDestroy()
    {
        if (this.currentMaze != null)
        {
            this.currentMaze.DestroyMaze();
            this.currentMaze = null;
        }

        instance = null;
    }
Ejemplo n.º 2
0
 public void InitMaze()
 {
     this.currentMaze = new PipeMaze(this.PickRandomJunction());
 }