C# Class UIAtlasInspector, TheUnseen

Inheritance: Editor
Mostra file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
instance UIAtlasInspector,

Public Methods

Method Description
HasPreviewGUI ( ) : bool

All widgets have a preview.

OnInspectorGUI ( ) : void

Draw the inspector widget.

OnPreviewGUI ( Rect rect, GUIStyle background ) : void

Draw the sprite preview.

Private Methods

Method Description
MarkSpriteAsDirty ( ) : void

Convenience function -- mark all widgets using the sprite as changed.

OnDisable ( ) : void
OnEnable ( ) : void
OnSelectAtlas ( Object obj ) : void

Replacement atlas selection callback.

SelectSprite ( string spriteName ) : void

Sprite selection callback.

Method Details

HasPreviewGUI() public method

All widgets have a preview.
public HasPreviewGUI ( ) : bool
return bool

OnInspectorGUI() public method

Draw the inspector widget.
public OnInspectorGUI ( ) : void
return void

OnPreviewGUI() public method

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

Property Details

instance static_oe public_oe property

static public UIAtlasInspector, instance
return UIAtlasInspector,