Good evening all. I've been all over these forums looking at solutions to this, but I'm still getting errors.
Here's my code so far.
Changing a skybox via C#
Here's my code so far.
Code (csharp):
- using UnityEngine;
- using System;
- changeSky();
- }
- private static void changeSky()
- {
- var hours = System.DateTime.Now.Hour;
- if (hours == 18 || hours == 19 || hours == 20 || hours == 21 || hours == 22 ||...