UnloadAllLandmarks
A class in Root.Township, Alta.Chunks.
Chunk effect asset that unloads every world landmark 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 |
|---|---|
UnloadAllLandmarks() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Methods
| Member | What it is |
|---|---|
override void Apply(bool isContained) | When the chunk contains the player, calls WorldLandmarkManager.ForceUnloadAll. |