Change map
This commit is contained in:
@@ -17,6 +17,7 @@ namespace Hallucinate.GameSetup.Maze
|
||||
public GameObject pathPrefab;
|
||||
public GameObject startPrefab;
|
||||
public GameObject endPrefab;
|
||||
public GameObject stairsUp;
|
||||
|
||||
[Header("Room Pieces")]
|
||||
public GameObject wallpiece;
|
||||
@@ -44,6 +45,7 @@ namespace Hallucinate.GameSetup.Maze
|
||||
MazeCellType.Path => pathPrefab,
|
||||
MazeCellType.Start => startPrefab,
|
||||
MazeCellType.End => endPrefab,
|
||||
MazeCellType.StairsUp => stairsUp,
|
||||
_ => null
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user