Unity Learn home
View Tutorial Content

Creating a Time of Day Viewer

Tutorial
Intermediate
+10 XP
25 Mins
Overview
Live
Groups
Summary
The Reflect Viewer uses a standard Skybox that is defined in the Game Scene. The default Skybox Material uses the main Directional Light as the sun. When you move the light’s position, the sky will update to reflect the time of day. By animating the movement of the main light with a Playable Director component, we can access and control the movement through a script that will sync with the slider UI component.
This tutorial also covers how you would go about creating a button (slider) that is part of the Reflect menu system and will behave as expected within the user interface system.
Select your Unity version
Last updated: May 27, 2020
2019.3
Language
English
Unity Pro
The complete solution for professionals to create, operate and monetize.
Creating a Time of Day Viewer