Map selector done
This commit is contained in:
@@ -10,7 +10,6 @@ public class SkyboxLoader : MonoBehaviour
|
||||
void Awake()
|
||||
{
|
||||
skyboxToLoad = GameObject.Find("SkyboxManager").GetComponent<TimeOfDay>().skyboxMaterial;
|
||||
Debug.Log("Skybox: " + skyboxToLoad);
|
||||
if (skyboxToLoad == "Day")
|
||||
{
|
||||
RenderSettings.skybox = skyboxDay;
|
||||
|
||||
Reference in New Issue
Block a user