|
|
@@ -16,6 +16,7 @@ public class DayToNight : MonoBehaviour
|
|
|
} else {
|
|
|
EnterDay();
|
|
|
}
|
|
|
+ // new GameObject("FPSTester").AddComponent<FPSTester>();
|
|
|
}
|
|
|
|
|
|
public void EnterDay()
|
|
|
@@ -39,7 +40,7 @@ public class DayToNight : MonoBehaviour
|
|
|
RenderSettings.skybox = nightSkyboxMaterial;
|
|
|
foreach (Transform item in transform) item.gameObject.SetActive(false);
|
|
|
transform.Find("NightElements").gameObject.SetActive(true);
|
|
|
- transform.Find("NightElements/Cloud").gameObject.SetActive(false);
|
|
|
+ // transform.Find("NightElements/Cloud").gameObject.SetActive(false);
|
|
|
// SetFogCamera(true);
|
|
|
}
|
|
|
|