C# Class UISpriteInspector, TheUnseen

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

Méthodes publiques

Méthode Description
HasPreviewGUI ( ) : bool

All widgets have a preview.

OnPreviewGUI ( Rect rect, GUIStyle background ) : void

Draw the sprite preview.

Méthodes protégées

Méthode Description
DrawCustomProperties ( ) : void

Sprites's custom properties based on the type.

ShouldDrawProperties ( ) : bool

Draw the atlas and sprite selection fields.

Private Methods

Méthode Description
OnSelectAtlas ( Object obj ) : void

Atlas selection callback.

SelectSprite ( string spriteName ) : void

Sprite selection callback function.

Method Details

DrawCustomProperties() protected méthode

Sprites's custom properties based on the type.
protected DrawCustomProperties ( ) : void
Résultat void

HasPreviewGUI() public méthode

All widgets have a preview.
public HasPreviewGUI ( ) : bool
Résultat bool

OnPreviewGUI() public méthode

Draw the sprite preview.
public OnPreviewGUI ( Rect rect, GUIStyle background ) : void
rect Rect
background GUIStyle
Résultat void

ShouldDrawProperties() protected méthode

Draw the atlas and sprite selection fields.
protected ShouldDrawProperties ( ) : bool
Résultat bool