跳到主要内容

Class InspectorGUIFactory

Constructors

InspectorGUIFactory()

public InspectorGUIFactory()

Methods

void ResetLabelWidth()

public void ResetLabelWidth()

void SetLabelWidth(float width, [LengthUnit lengthUnit = null])

public void SetLabelWidth(float width, [LengthUnit lengthUnit = null])

EnumField<T> CreateEnumField<T>(LabelContent label, SerializedProperty serializedProperty)

public EnumField<T> CreateEnumField<T>(LabelContent label, SerializedProperty serializedProperty)

Slider CreateSlider(LabelContent label, SerializedProperty serializedProperty)

public Slider CreateSlider(LabelContent label, SerializedProperty serializedProperty)

Slider CreateSlider(LabelContent label, float min, float max, SerializedProperty serializedProperty)

public Slider CreateSlider(LabelContent label, float min, float max, SerializedProperty serializedProperty)

FloatField CreateFloatField(LabelContent label, SerializedProperty serializedProperty)

public FloatField CreateFloatField(LabelContent label, SerializedProperty serializedProperty)

Vector2Field CreateVector2Field(LabelContent label, SerializedProperty serializedProperty)

public Vector2Field CreateVector2Field(LabelContent label, SerializedProperty serializedProperty)

DirectionField CreateDirectionField(LabelContent label, SerializedProperty serializedProperty)

public DirectionField CreateDirectionField(LabelContent label, SerializedProperty serializedProperty)

PointField CreatePointField(LabelContent label, SerializedProperty serializedProperty)

public PointField CreatePointField(LabelContent label, SerializedProperty serializedProperty)

PointField CreatePointField(LabelContent label, SerializedProperty serializedProperty, float aspect)

public PointField CreatePointField(LabelContent label, SerializedProperty serializedProperty, float aspect)

ObjectField<T> CreateObjectField<T>(SerializedProperty serializedProperty)

public ObjectField<T> CreateObjectField<T>(SerializedProperty serializedProperty)

ObjectField<T> CreateObjectField<T>(LabelContent label, SerializedProperty serializedProperty)

public ObjectField<T> CreateObjectField<T>(LabelContent label, SerializedProperty serializedProperty)

Toggle CreateToggle(LabelContent label, SerializedProperty serializedProperty)

public Toggle CreateToggle(LabelContent label, SerializedProperty serializedProperty)