C# Class FullInspector.Internal.fiSerializedPropertyUtility

Show file Open project: jacobdufault/fullinspector

Public Methods

Method Description
GetFieldOrProperty ( Type type, string name ) : MemberInfo
GetMetadata ( UnityEditor.SerializedProperty property ) : fiGraphMetadataChild
GetTarget ( UnityEditor.SerializedProperty property ) : object

Returns the object that this serialized property is currently storing.

ReadFieldOrProperty ( object obj, string name ) : object
RevertPrefabContextMenu ( Rect region, UnityEditor.SerializedProperty property ) : void
WriteFieldOrProperty ( object obj, string name, object value ) : void
WriteTarget ( UnityEditor.SerializedProperty property, object value ) : void

Private Methods

Method Description
ReadArrayIndex ( object obj, int index ) : object
WriteArrayIndex ( object obj, int index, object value ) : void

Method Details

GetFieldOrProperty() public static method

public static GetFieldOrProperty ( Type type, string name ) : MemberInfo
type System.Type
name string
return System.Reflection.MemberInfo

GetMetadata() public static method

public static GetMetadata ( UnityEditor.SerializedProperty property ) : fiGraphMetadataChild
property UnityEditor.SerializedProperty
return fiGraphMetadataChild

GetTarget() public static method

Returns the object that this serialized property is currently storing.
public static GetTarget ( UnityEditor.SerializedProperty property ) : object
property UnityEditor.SerializedProperty
return object

ReadFieldOrProperty() public static method

public static ReadFieldOrProperty ( object obj, string name ) : object
obj object
name string
return object

RevertPrefabContextMenu() public static method

public static RevertPrefabContextMenu ( Rect region, UnityEditor.SerializedProperty property ) : void
region UnityEngine.Rect
property UnityEditor.SerializedProperty
return void

WriteFieldOrProperty() public static method

public static WriteFieldOrProperty ( object obj, string name, object value ) : void
obj object
name string
value object
return void

WriteTarget() public static method

public static WriteTarget ( UnityEditor.SerializedProperty property, object value ) : void
property UnityEditor.SerializedProperty
value object
return void