浏览代码

Simplified property fetching

/main
Thomas 7 年前
当前提交
f019bf89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/Core/CoreRP/Editor/Volume/VolumeComponentListEditor.cs

2
ScriptableRenderPipeline/Core/CoreRP/Editor/Volume/VolumeComponentListEditor.cs


m_Asset = asset;
m_SerializedObject = serializedObject;
m_ComponentsProperty = new PropertyFetcher<VolumeProfile>(serializedObject).Find(x => x.components);
m_ComponentsProperty = serializedObject.Find((VolumeProfile x) => x.components);
Assert.IsNotNull(m_ComponentsProperty);
m_EditorTypes = new Dictionary<Type, Type>();

正在加载...
取消
保存