Component:MazeGenerator

From Resonite Wiki
Revision as of 01:38, 13 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. Added a description, added field description, added usage description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Maze Generator component as seen in the Scene Inspector


The MazeGenerator component generates a maze (with a ton of slots) with given parameters.

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Seed Int The random seed for generating this maze.
Cells Int2 The maze square sections for this generated maze.
WallSize Float2 X: how long the walls are, Y: how tall the walls are.
Point0 Int2 The start position for this maze.
Point1 Int2 The end position for this maze.
Material MaterialProvider The material for the walls of the maze.
Bake Bool Bakes the generated maze.

Usage

Great for prototyping mazes, and can be baked.

Examples

See Also