C# Class EventDelegateEditor, TheUnseen

Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Methods

Method Description
Field ( Object undoObject, EventDelegate, del ) : bool

Draw an editor field for the Unity Delegate.

Field ( Object undoObject, EventDelegate, del, bool removeButton ) : bool

Draw an editor field for the Unity Delegate.

Field ( Object undoObject, List list ) : void

Draw a list of fields for the specified list of delegates.

Field ( Object undoObject, List list, string noTarget, string notValid ) : void

Draw a list of fields for the specified list of delegates.

Private Methods

Method Description
GetMethodNames ( List list, string choice, int &index ) : string[]

Convert the specified list of delegate entries into a string array.

GetMethods ( GameObject target ) : List

Collect a list of usable delegates from the specified target game object. The delegates must be of type "void Delegate()".

Method Details

Field() static public method

Draw an editor field for the Unity Delegate.
static public Field ( Object undoObject, EventDelegate, del ) : bool
undoObject Object
del EventDelegate,
return bool

Field() static public method

Draw an editor field for the Unity Delegate.
static public Field ( Object undoObject, EventDelegate, del, bool removeButton ) : bool
undoObject Object
del EventDelegate,
removeButton bool
return bool

Field() static public method

Draw a list of fields for the specified list of delegates.
static public Field ( Object undoObject, List list ) : void
undoObject Object
list List
return void

Field() static public method

Draw a list of fields for the specified list of delegates.
static public Field ( Object undoObject, List list, string noTarget, string notValid ) : void
undoObject Object
list List
noTarget string
notValid string
return void