Class MotionGraphCustomPropertyDrawer
Inheritance
MotionGraphCustomPropertyDrawer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class MotionGraphCustomPropertyDrawer
Properties
property
Declaration
public MotionGraphParameter property { get; set; }
Property Value
serializedObject
Declaration
public SerializedObject serializedObject { get; }
Property Value
| Type |
Description |
| SerializedObject |
|
Methods
CreatePropertyInstance(Int32)
Declaration
public static MotionGraphParameter CreatePropertyInstance(int menuIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuIndex |
|
Returns
DrawPropertyData(Rect)
Declaration
protected virtual void DrawPropertyData(Rect r)
Parameters
| Type |
Name |
Description |
| Rect |
r |
|
DrawPropertyElement(Rect)
Declaration
public void DrawPropertyElement(Rect r)
Parameters
| Type |
Name |
Description |
| Rect |
r |
|
Declaration
public static string[] GetMenuEntries()
Returns
| Type |
Description |
| System.String[] |
|
GetPropertyDrawer(MotionGraphParameter)
Declaration
public static MotionGraphCustomPropertyDrawer GetPropertyDrawer(MotionGraphParameter p)
Parameters
Returns
RegisterProperty<PropertyType, EditorType>(String)
Declaration
protected static void RegisterProperty<PropertyType, EditorType>(string name)
where PropertyType : MotionGraphParameter, new()
where EditorType : MotionGraphCustomPropertyDrawer, new()
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Type Parameters
| Name |
Description |
| PropertyType |
|
| EditorType |
|