Summary
[Editor-Only] A
UnityEditor.PropertyDrawer for FlexiMotion.Modifiers.SphereColliderDefinitions fields.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Base Types
-
- PropertyDrawer
- EditableFieldDrawer
graph BT
Type-->Base0["EditableFieldDrawer"]
click Base0 "/flexi-motion/api/FlexiMotion.Editor/EditableFieldDrawer"
Base0-->Base1["PropertyDrawer"]
Type["SphereColliderDefinitionsDrawer"]
class Type type-node
Syntax
[CustomPropertyDrawer(typeof(SphereColliderDefinitions), true)]
public class SphereColliderDefinitionsDrawer : EditableFieldDrawer
Attributes
| Type | Description |
|---|---|
| CustomPropertyDrawer |
Events
| Name | Type | Summary |
|---|---|---|
| OnEdit | Action |
The method to call when the "Edit" button is clicked.
Inherited from EditableFieldDrawer
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| GetEditButtonLabel |
void |
Sets the `label` for the "Edit" button.
|
| GetPropertyHeight |
float |
Inherited from EditableFieldDrawer
|
| OnGUI |
void |
Inherited from EditableFieldDrawer
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| LogTemp |
T |
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember
to remove any calls.
From FMUtilities
|
| SafeGetHashCode |
int |
Uses
System.Collections.Generic.EqualityComparer`1.Default to get a hash code.From FMUtilities
|