Method | Description | |
---|---|---|
HasPreviewGUI ( ) : bool |
All widgets have a preview.
|
|
OnPreviewGUI ( Rect rect, GUIStyle background ) : void |
Draw the sprite preview.
|
Method | Description | |
---|---|---|
DrawCustomProperties ( ) : void |
Sprites's custom properties based on the type.
|
|
ShouldDrawProperties ( ) : bool |
Draw the atlas and sprite selection fields.
|
Method | Description | |
---|---|---|
OnSelectAtlas ( Object obj ) : void |
Atlas selection callback.
|
|
SelectSprite ( string spriteName ) : void |
Sprite selection callback function.
|
public OnPreviewGUI ( Rect rect, GUIStyle background ) : void | ||
rect | Rect | |
background | GUIStyle | |
return | void |