Implement ShowSection for RimLightScope;

This commit is contained in:
2025-01-31 19:19:46 +08:00
parent d92a103be2
commit 9822fa61ca

View File

@@ -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);
}
}