Day/Night Cycle

Action_Name

Description

Change Procedural Skybox

This Action will fade from the current Procedural Skybox to another Procedural Skybox over a period of time. The time value can be from a variable.

Change Skybox

This Action changes the current Skybox to another Skybox instantly. Non-Procedural Skyboxes cannot be faded/merged.

Set Sun Intensity

Sets the Sun (Directional Light used as Sun) Intensity value. This value can be from a Variable.

Reset Sun Intensity

Resets the Sun back to the original setting as defined in the Inspector during development.

Set Weather

Set Weather Effects will place a Game Object (usually a Particle Effect) in front of the Main Camera. Sample Particle effects of Rain and Snow are included in the example, but are only examples. The GameObject can also be added from a Variable.

Reset Weather

This Action removes the above GameObject from the Camera.

Set Ambient Color Day

With the Day Night Manager, Day and Night times are defined. This Action will set the Ambient Lighting for the Daytime part of the cycle. However, it can be changed at any time with this Action to simulate clouds or rain. The color value can also be obtained from a Variable.

Set Ambient Color Night

With the Day Night Manager, Day and Night times are defined. This Action will set the Ambient Lighting for the Nighttime part of the cycle. It can be changed at any time with this Action to simulate a moonlit night or heavy clouds. The color value can also be obtained from a Variable.

Set Default Terrain Texture

Terrains have a index of each texture and with this Action the index on the Default Terrain Texture can be changed. NOTE: This Action is provided as a sample and should only be used with Single Tectured Terrains.

Last updated