File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Assets/Scripts/Pal3.Game/Effect/PostProcessing Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ private void TogglePostProcessLayerWhenNeeded()
104104 _ambientOcclusion . active ||
105105 _colorGrading . active ||
106106 _vignette . active ||
107- _distortion . active )
107+ _distortion . active ||
108+ _snow . active )
108109 {
109110 _postProcessLayer . enabled = true ;
110111 }
@@ -184,6 +185,7 @@ public void Execute(ScenePostLoadingNotification command)
184185 command . NewSceneInfo . IsCity ( "m22" ) )
185186 {
186187 _snow . active = true ;
188+ TogglePostProcessLayerWhenNeeded ( ) ;
187189 }
188190 #elif PAL3A
189191 if ( command . NewSceneInfo . Is ( "q02" , "hs" ) ||
@@ -192,13 +194,15 @@ public void Execute(ScenePostLoadingNotification command)
192194 command . NewSceneInfo . Is ( "q02" , "zs" ) )
193195 {
194196 _snow . active = true ;
197+ TogglePostProcessLayerWhenNeeded ( ) ;
195198 }
196199 #endif
197200 }
198201
199202 public void Execute ( SceneLeavingCurrentSceneNotification command )
200203 {
201204 _snow . active = false ;
205+ TogglePostProcessLayerWhenNeeded ( ) ;
202206 }
203207 }
204208}
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ PlayerSettings:
140140 loadStoreDebugModeEnabled : 0
141141 visionOSBundleVersion : 1.0
142142 tvOSBundleVersion : 1.0
143- bundleVersion : 0.77
143+ bundleVersion : 0.78
144144 preloadedAssets :
145145 - {fileID: 11400000, guid: d36b5fde9d421c74cba9317a109723a2, type: 2}
146146 metroInputSource : 0
@@ -709,6 +709,9 @@ PlayerSettings:
709709 - serializedVersion : 3
710710 m_BuildTarget : Android
711711 m_Formats : 03000000
712+ - serializedVersion : 3
713+ m_BuildTarget : iOS
714+ m_Formats : 03000000
712715 playModeTestRunnerEnabled : 0
713716 runPlayModeTestAsEditModeTest : 0
714717 actionOnDotNetUnhandledException : 1
Original file line number Diff line number Diff line change 1- m_EditorVersion: 6000.0.40f1
2- m_EditorVersionWithRevision: 6000.0.40f1 (157d81624ddf )
1+ m_EditorVersion: 6000.0.41f1
2+ m_EditorVersionWithRevision: 6000.0.41f1 (46e447368a18 )
You can’t perform that action at this time.
0 commit comments