您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

31 行
740 B

using UnityEngine;
using UnityEditor;
using UnityEngine.Experimental.Rendering.HDPipeline;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
[CanEditMultipleObjects]
[VolumeComponentEditor(typeof(HDRISky))]
public class HDRISkyEditor
: SkySettingsEditor
{
SerializedDataParameter m_hdriSky;
public override void OnEnable()
{
base.OnEnable();
var o = new PropertyFetcher<HDRISky>(serializedObject);
m_hdriSky = Unpack(o.Find(x => x.hdriSky));
}
public override void OnInspectorGUI()
{
PropertyField(m_hdriSky);
EditorGUILayout.Space();
base.CommonSkySettingsGUI();
}
}
}