C# Class EventDelegateEditor, TheUnseen

Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Field() static public méthode

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

Field() static public méthode

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

Field() static public méthode

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
Résultat void