还原水插件
This commit is contained in:
@@ -41,6 +41,13 @@ namespace WaveHarmonic.Crest
|
||||
return;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (!WaterRenderer.IsWithinEditorUpdate)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Only sample shadows for the main camera.
|
||||
if (!ReferenceEquals(water.Viewer, camera))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user