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

22 行
712 B

using System;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.Perception.Randomization
{
/// <summary>
/// Derive this class to force the Unity Editor to render the default inspector using UIElements for an Object that
/// includes a Parameter field.
/// to allow parameter UIs to render properly
/// </summary>
public abstract class ParameterUIElementsEditor : Editor
{
///<inheritdoc/>
public override VisualElement CreateInspectorGUI()
{
var rootElement = new VisualElement();
UIElementsEditorUtilities.CreatePropertyFields(serializedObject, rootElement);
return rootElement;
}
}
}