Uploaded June 2020 | Updated September 2026, 1 week ago
In this video we will show you have to code the day and night cycle system for you game , you will learn how to use Interface coding technique to form the core system then you will learn how to create various kinds of interfaces to control any component values during the day and night cycle time.
00:00 Intro
01:55 Creating and applying day and night cycle controller script
04:10 Creating and applying light color setter script
08:55 Creating and applying material color setter script
10:55 Creating and applying ambient SFX volume setter script
12:38 Automating the day and night cycle.
Download project files (Patrons only): patreon.com/BinaryLunar
Previous 2D lights tutorial: youtube.com/watch?v=kpt7Ft5y8v4
Music: Nomadic Sunset: youtube.com/watch?v=AyWTNZJqEDA
Check our game AvoCuddle: store.steampowered.com/app/1072610/AvoCuddle
● Subscribe: youtube.com/channel/UCLWdeb3R2U_htIdI3RqT5YA?sub_confirmation=1
● Twitter: twitter.com/BinaryLunar
● Facebook: facebook.com/Binary-Lunar-102590804565782
● Support us on Patreon: patreon.com/BinaryLunar
● Check our Assets: assetstore.unity.com/publishers/47136
● The Ultimate 2D & 3D Shader Graph Course: tinyurl.com/3b5zac7c
In this video we will show you have to code the day and night cycle system for you game , you will learn how to use Interface coding technique to form the core system then you will learn how to create various kinds of interfaces to control any component values during the day and night cycle time.
00:00 Intro
01:55 Creating and applying day and night cycle controller script
04:10 Creating and applying light color setter script
08:55 Creating and applying material color setter script
10:55 Creating and applying ambient SFX volume setter script
12:38 Automating the day and night cycle.
Download project files (Patrons only): patreon.com/BinaryLunar
Previous 2D lights tutorial: youtube.com/watch?v=kpt7Ft5y8v4
Music: Nomadic Sunset: youtube.com/watch?v=AyWTNZJqEDA
Check our game AvoCuddle: store.steampowered.com/app/1072610/AvoCuddle
● Subscribe: youtube.com/channel/UCLWdeb3R2U_htIdI3RqT5YA?sub_confirmation=1
● Twitter: twitter.com/BinaryLunar
● Facebook: facebook.com/Binary-Lunar-102590804565782
● Support us on Patreon: patreon.com/BinaryLunar
● Check our Assets: assetstore.unity.com/publishers/47136
● The Ultimate 2D & 3D Shader Graph Course: tinyurl.com/3b5zac7c








