コード例 #1
0
 private void Start()
 {
     EnsureProfile();
     DayNightProfile.UpdateFromProfile(WeatherMakerScript.Instance.Camera, WeatherMakerScript.Instance.Sun, WeatherMakerScript.Instance.Moons,
                                       DirectionalLightIntensityMultipliers, DirectionalLightShadowIntensityMultipliers,
                                       WeatherMakerScript.Instance.NetworkScript.IsServer);
 }
コード例 #2
0
 private void Start()
 {
     EnsureProfile();
     DayNightProfile.UpdateFromProfile(WeatherMakerScript.Instance != null && WeatherMakerScript.Instance.NetworkConnection.IsServer);
 }