FakeExistModifier

class in FinixMakesGames.MazeGenerator / Inherits from:MonoBehaviour, IQuadMazeDataModifier

Description

Creates a true entrance and exit as well as a select number of fake exits.

Properties

PropertyDescription
cutPathsRemove the connection to the valid path
longestExitAlways choose the longest candidate cell as the true exit
entrancePrefabReference to the entrance prefab to spawn
exitPrefabReference to the exit prefab to spawn
fakeExitPrefabReference to the exit prefab to spawn
fakeExitCountNumber of fake exits to spawn

Inhereted Members

Public Methods

MethodDescription
ApplyDataModifierModifies the Cell links and consequently the Grid layout
ApplyPrefabModifierAdds one or multiple <QuadCell,GameObject> pairs to the uniqueTiles property in the given QuadMaze.