C# Class UIAtlas, Hellbound

Inheritance: MonoBehaviour
Afficher le fichier Open project: Backman/Hellbound Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetListOfSprites() public méthode

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

GetListOfSprites() public méthode

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

GetSprite() public méthode

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

MarkAsChanged() public méthode

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

SortAlphabetically() public méthode

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