Skip to main content

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.

Constructors​

MemberWhat it is
MasterTerrainChunkEffectData()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private bool isActiveWhether the master terrain should be on inside the chunk.

Methods​

MemberWhat it is
override void Apply(bool isContained)When the chunk contains the player, sets MasterTerrain.Instance.IsActive to isActive.