示例#1
0
 private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
 {
     if (scene.name == "map_title" && PostProcessingSettings != null)
     {
         PostProcessingSettings.ResetVolume();
     }
     else
     {
         StartCoroutine(InitializeLight(scene));
     }
     CullingMaskExtensions.RefreshLayers();
 }
示例#2
0
 private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
 {
     StartCoroutine(InitializeLight(scene));
     CullingMaskExtensions.RefreshLayers();
 }