C# Класс FullInspector.Rotorz.ReorderableList.ReorderableListGUI

Utility class for drawing reorderable lists.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DoListField void
DoListFieldAbsolute void
InitStyles void
ReorderableListGUI FullInspector.Rotorz.ReorderableList.Internal

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

Метод Описание
CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float

Calculate height of list field for adapted collection.

CalculateTitleHeight ( ) : float
ListField ( IReorderableListAdaptor adaptor ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
Title ( GUIContent title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

Title ( Rect position, GUIContent title ) : void

Draw title control for list field with absolute positioning.

Title ( Rect position, string text ) : void

Draw title control for list field with absolute positioning.

Title ( string title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

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

Метод Описание
DoListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

DoListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

InitStyles ( ) : void
ReorderableListGUI ( ) : FullInspector.Rotorz.ReorderableList.Internal

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

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

public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
adaptor IReorderableListAdaptor
Результат float

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

Calculate height of list field for adapted collection.
public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float
adaptor IReorderableListAdaptor Reorderable list adaptor.
flags ReorderableListFlags Optional flags to pass into list field.
Результат float

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

public static CalculateTitleHeight ( ) : float
Результат float

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

public static ListField ( IReorderableListAdaptor adaptor ) : void
adaptor IReorderableListAdaptor
Результат void

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

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
Результат void

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

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
Результат void

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

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
flags ReorderableListFlags
Результат void

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

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
Результат void

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

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
Результат void

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

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
Результат void

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

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
flags ReorderableListFlags
Результат void

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

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( GUIContent title ) : void
title UnityEngine.GUIContent Content for title control.
Результат void

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

Draw title control for list field with absolute positioning.
public static Title ( Rect position, GUIContent title ) : void
position UnityEngine.Rect Position of control.
title UnityEngine.GUIContent Content for title control.
Результат void

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

Draw title control for list field with absolute positioning.
public static Title ( Rect position, string text ) : void
position UnityEngine.Rect Position of control.
text string Text for title control.
Результат void

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

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( string title ) : void
title string Text for title control.
Результат void