A class in Root.Township, Alta.Environmental.Atmosphere.
Trigger volume that switches the atmosphere to a set when anything enters it.
Constructors
| Member | What it is |
|---|
SpaceAtmosphereTrigger() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
2 private and internal methods
| Member | What it is |
|---|
private void OnTriggerEnter(Collider other) | Applies usedSet through the atmosphere manager. Fires for any collider. |
private void Start() | Caches AtmosphereManager.instance. |