C# Класс EventDelegateEditor, TheUnseen

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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()".

Описание методов

Field() статический публичный Метод

Draw an editor field for the Unity Delegate.
static public Field ( Object undoObject, EventDelegate, del ) : bool
undoObject Object
del EventDelegate,
Результат bool

Field() статический публичный Метод

Draw an editor field for the Unity Delegate.
static public Field ( Object undoObject, EventDelegate, del, bool removeButton ) : bool
undoObject Object
del EventDelegate,
removeButton bool
Результат bool

Field() статический публичный Метод

Draw a list of fields for the specified list of delegates.
static public Field ( Object undoObject, List list ) : void
undoObject Object
list List
Результат void

Field() статический публичный Метод

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
Результат void