Editar

Compartir a través de


InspectorFieldsUtility Class

Definition

A collection of helper functions for adding InspectorFields to a custom Inspector

public ref class InspectorFieldsUtility abstract sealed
public static class InspectorFieldsUtility
type InspectorFieldsUtility = class
Public Class InspectorFieldsUtility
Inheritance
InspectorFieldsUtility

Methods

AddFieldsToSettingsList(SerializedProperty, List<InspectorFieldData>)

Adds InspectorFields to list of serialized PropertySettings

AreFieldsSame(SerializedProperty, List<InspectorFieldData>)
ClearSettingsList(SerializedProperty, List<InspectorFieldData>)

Create a new list of serialized PropertySettings from InspectorFields

DisplayPropertyField(SerializedProperty)

Render a PropertySettings UI field based on the InspectorField Settings

GetInspectorFields(Object)
IsPropertyType(SerializedProperty, InspectorField+FieldTypes)

Checks the type a property field and returns if it matches the passed in type

UpdatePropertySettings(SerializedProperty, Int32, Object)

Update a property value in a serialized PropertySettings

UpdateSettingsList(SerializedProperty, List<InspectorFieldData>)

Update list of serialized PropertySettings from new or removed InspectorFields

Applies to