C# 클래스 UIAtlas, Hellbound

상속: MonoBehaviour
파일 보기 프로젝트 열기: Backman/Hellbound 1 사용 예제들

공개 메소드들

메소드 설명
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