PrefabSceneDayTimeManager
A class in Root.Township, Alta.Environmental.Atmosphere.
Editor tool for prefab scenes: previews the sun, moon, sky and fog for a set time of day while not playing.
- Listed in World, chunks and saving
- Inherits or implements
MonoBehaviour - Attributes
ExecuteInEditMode - Documented in Time and environment
Constructors
| Member | What it is |
|---|---|
PrefabSceneDayTimeManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
7 private and internal fields
| Member | What it is |
|---|---|
private bool btnConvert | Inspector button that converts the fog colour gradient each update while ticked. |
private static Logger logger | Logger for this class. |
private Light moonLight | Moon light; found under the moon rotator if not set. |
private Transform moonRotator | Transform tagged MoonRotator. |
private PrefabSceneSettings settings | Prefab scene settings with the debug time and sky curves. |
private Light sunLight | Sun light; found under the sun rotator if not set. |
private Transform sunRotator | Transform tagged SunRotator. |