C# Class UIAtlas, Hellbound

Inheritance: MonoBehaviour
显示文件 Open project: Backman/Hellbound Class Usage Examples

Public Methods

Method Description
CheckIfRelated ( UIAtlas, a, UIAtlas, b ) : bool

Helper function that determines whether the two atlases are related.

GetListOfSprites ( ) : BetterList

Convenience function that retrieves a list of all sprite names.

GetListOfSprites ( string match ) : BetterList

Convenience function that retrieves a list of all sprite names that contain the specified phrase

GetSprite ( string name ) : UISpriteData,

Convenience function that retrieves a sprite by name.

MarkAsChanged ( ) : void

Mark all widgets associated with this atlas as having changed.

SortAlphabetically ( ) : void

Sort the list of sprites within the atlas, making them alphabetical.

Private Methods

Method Description
References ( UIAtlas, atlas ) : bool

Helper function that determines whether the atlas uses the specified one, taking replacements into account.

Upgrade ( ) : bool

Performs an upgrade from the legacy way of specifying data to the new one.

Method Details

CheckIfRelated() static public method

Helper function that determines whether the two atlases are related.
static public CheckIfRelated ( UIAtlas, a, UIAtlas, b ) : bool
a UIAtlas,
b UIAtlas,
return bool

GetListOfSprites() public method

Convenience function that retrieves a list of all sprite names.
public GetListOfSprites ( ) : BetterList
return BetterList

GetListOfSprites() public method

Convenience function that retrieves a list of all sprite names that contain the specified phrase
public GetListOfSprites ( string match ) : BetterList
match string
return BetterList

GetSprite() public method

Convenience function that retrieves a sprite by name.
public GetSprite ( string name ) : UISpriteData,
name string
return UISpriteData,

MarkAsChanged() public method

Mark all widgets associated with this atlas as having changed.
public MarkAsChanged ( ) : void
return void

SortAlphabetically() public method

Sort the list of sprites within the atlas, making them alphabetical.
public SortAlphabetically ( ) : void
return void