Implement ShowSection for RimLightScope;
This commit is contained in:
@@ -137,5 +137,6 @@ namespace Misaki.HdrpToon.Editor
|
||||
|
||||
protected override ShaderGUIExpandable ExpandableBit => ShaderGUIExpandable.Rimlight;
|
||||
protected override GUIContent Header => EditorGUIUtility.TrTextContent("Rim Light Settings");
|
||||
protected override bool ShowSection => SurfaceOptionsScope.HasFeature(SurfaceFeatureFlags.RimLight);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user