C# Класс UIAtlas, Hellbound

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CheckIfRelated() статический публичный Метод

Helper function that determines whether the two atlases are related.
static public CheckIfRelated ( UIAtlas, a, UIAtlas, b ) : bool
a UIAtlas,
b UIAtlas,
Результат bool

GetListOfSprites() публичный Метод

Convenience function that retrieves a list of all sprite names.
public GetListOfSprites ( ) : BetterList
Результат BetterList

GetListOfSprites() публичный Метод

Convenience function that retrieves a list of all sprite names that contain the specified phrase
public GetListOfSprites ( string match ) : BetterList
match string
Результат BetterList

GetSprite() публичный Метод

Convenience function that retrieves a sprite by name.
public GetSprite ( string name ) : UISpriteData,
name string
Результат UISpriteData,

MarkAsChanged() публичный Метод

Mark all widgets associated with this atlas as having changed.
public MarkAsChanged ( ) : void
Результат void

SortAlphabetically() публичный Метод

Sort the list of sprites within the atlas, making them alphabetical.
public SortAlphabetically ( ) : void
Результат void