add weather and time
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user