您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
653 B
22 行
653 B
using System.Collections.Generic;
|
|
|
|
namespace UnityEditor.PostProcessing
|
|
{
|
|
public class DefaultPostFxModelEditor : PostProcessingModelEditor
|
|
{
|
|
List<SerializedProperty> m_Properties = new List<SerializedProperty>();
|
|
|
|
public override void OnEnable()
|
|
{
|
|
var iter = m_SettingsProperty.Copy().GetEnumerator();
|
|
while (iter.MoveNext())
|
|
m_Properties.Add(((SerializedProperty)iter.Current).Copy());
|
|
}
|
|
|
|
public override void OnInspectorGUI()
|
|
{
|
|
foreach (var property in m_Properties)
|
|
EditorGUILayout.PropertyField(property);
|
|
}
|
|
}
|
|
}
|