升级水插件
This commit is contained in:
@@ -44,6 +44,7 @@ namespace WaveHarmonic.Crest.Editor
|
||||
return;
|
||||
}
|
||||
|
||||
#if d_Unity_Terrain
|
||||
foreach (var terrain in GetComponentsInChildren<Terrain>())
|
||||
{
|
||||
terrain.materialTemplate = RenderPipelineHelper.RenderPipeline switch
|
||||
@@ -54,6 +55,7 @@ namespace WaveHarmonic.Crest.Editor
|
||||
_ => throw new System.NotImplementedException(),
|
||||
};
|
||||
}
|
||||
#endif // d_Unity_Terrain
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user