C# Класс UISpriteInspector, TheUnseen

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

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

Метод Описание
HasPreviewGUI ( ) : bool

All widgets have a preview.

OnPreviewGUI ( Rect rect, GUIStyle background ) : void

Draw the sprite preview.

Защищенные методы

Метод Описание
DrawCustomProperties ( ) : void

Sprites's custom properties based on the type.

ShouldDrawProperties ( ) : bool

Draw the atlas and sprite selection fields.

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

Метод Описание
OnSelectAtlas ( Object obj ) : void

Atlas selection callback.

SelectSprite ( string spriteName ) : void

Sprite selection callback function.

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

DrawCustomProperties() защищенный Метод

Sprites's custom properties based on the type.
protected DrawCustomProperties ( ) : void
Результат void

HasPreviewGUI() публичный Метод

All widgets have a preview.
public HasPreviewGUI ( ) : bool
Результат bool

OnPreviewGUI() публичный Метод

Draw the sprite preview.
public OnPreviewGUI ( Rect rect, GUIStyle background ) : void
rect Rect
background GUIStyle
Результат void

ShouldDrawProperties() защищенный Метод

Draw the atlas and sprite selection fields.
protected ShouldDrawProperties ( ) : bool
Результат bool