GymnasiumChunkResizer
A class in Root.Township, the global namespace.
Editor tool for the Gymnasium test scene: rebuilds its grid of chunks as LocationChunks of a set size.
- Listed in Global namespace: E to H
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
GymnasiumChunkResizer() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|---|
void Resize() | Replaces each child OverworldChunk with a LocationChunk named x-z, with identifier gym x-z and bounds chunkSize wide and 100 high. |
void SetAdjacent() | Works out the neighbours of each x-z named chunk on a 5 by 5 grid, but throws the result away, so it changes nothing. |