MasterTerrainChunkEffectData
A class in Root.Township, Alta.Chunks.
Chunk effect asset that turns the master terrain on or off while the local player is in the chunk.
- Listed in World, chunks and saving
- Inherits or implements
ChunkEffect - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
MasterTerrainChunkEffectData() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override void Apply(bool isContained) | When the chunk contains the player, sets MasterTerrain.Instance.IsActive to isActive. |