EditableFieldDrawer Class

Summary

[Editor-Only] A UnityEditor.PropertyDrawer which adds an "Edit" button to a field.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Editor
Base Types
  • PropertyDrawer
Derived Types
graph BT Type-->Base0["PropertyDrawer"] Type["EditableFieldDrawer"] class Type type-node Derived0["SphereColliderDefinitionsDrawer"]-->Type click Derived0 "/flexi-motion/api/FlexiMotion.Editor/SphereColliderDefinitionsDrawer" Derived1["SpringDefinitionsDrawer"]-->Type click Derived1 "/flexi-motion/api/FlexiMotion.Editor/SpringDefinitionsDrawer"

Syntax

public abstract class EditableFieldDrawer : PropertyDrawer

Events

Name Type Summary
OnEdit Action<SerializedProperty>
The method to call when the "Edit" button is clicked.
static

Methods

Extension Methods

Name Value Summary
LogTemp<EditableFieldDrawer>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<EditableFieldDrawer>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.