移除Azure sky
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Enviro;
|
||||
using NBF;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AzureSky;
|
||||
using WaveHarmonic.Crest;
|
||||
|
||||
public class SceneSettings : MonoBehaviour
|
||||
@@ -24,7 +23,6 @@ public class SceneSettings : MonoBehaviour
|
||||
|
||||
public LineRenderer LineRenderer;
|
||||
|
||||
public AzureCoreSystem AzureCoreSystem;
|
||||
|
||||
public int FPS;
|
||||
|
||||
@@ -46,7 +44,7 @@ public class SceneSettings : MonoBehaviour
|
||||
|
||||
private void Start()
|
||||
{
|
||||
// EnviroManager.instance.Time.Settings.simulate = true;
|
||||
EnviroManager.instance.Time.Settings.simulate = true;
|
||||
// EnviroManager.instance.Time.SetTimeOfDay(0.5f * 24f);
|
||||
}
|
||||
|
||||
@@ -89,9 +87,9 @@ public class SceneSettings : MonoBehaviour
|
||||
{
|
||||
var p = GameTimer.GetGameDayProgress();
|
||||
Debug.Log(p);
|
||||
// EnviroManager.instance.Time.SetTimeOfDay(GameTimer.GetGameDayProgress() * 24f);
|
||||
if(AzureCoreSystem)
|
||||
AzureCoreSystem.timeSystem.timeline = 24F * p;
|
||||
EnviroManager.instance.Time.SetTimeOfDay(GameTimer.GetGameDayProgress() * 24f);
|
||||
// if(AzureCoreSystem)
|
||||
// AzureCoreSystem.timeSystem.timeline = 24F * p;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user