LightSettings
A class in Root.Township, the global namespace.
Applies a skybox and ambient colour when enabled, and deactivates the previously active LightSettings object.
- Listed in Global namespace: I to L
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
LightSettings() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private Color ambience | Ambient light colour to apply. |
private static LightSettings current | The settings object applied last. |
private Material skybox | Skybox material to apply. |