29 lines
691 B
C#
29 lines
691 B
C#
#if ENVIRO_HDRP
|
|
using UnityEditor.Rendering;
|
|
using UnityEngine.Rendering.HighDefinition;
|
|
|
|
namespace UnityEditor.Rendering.HighDefinition
|
|
{
|
|
[CanEditMultipleObjects]
|
|
[VolumeComponentEditor(typeof(EnviroHDRPSky))]
|
|
class EnviroSkyLiteSettingsEditor : SkySettingsEditor
|
|
{
|
|
|
|
public override void OnEnable()
|
|
{
|
|
base.OnEnable();
|
|
|
|
m_CommonUIElementsMask = (uint)SkySettingsUIElement.UpdateMode | (uint)SkySettingsUIElement.SkyIntensity;
|
|
|
|
var o = new PropertyFetcher<EnviroHDRPSky>(serializedObject);
|
|
}
|
|
|
|
public override void OnInspectorGUI()
|
|
{
|
|
base.CommonSkySettingsGUI();
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|