C# Class a.spritestudio.SpriteRoot

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: cfm-art/SpriteStudioPlayerForUGUI Class Usage Examples

Méthodes publiques

Méthode Description
AddPart ( SpritePart part ) : void

追加

AddSprite ( SpritePartRenderer renderer ) : void

レンダラ追加

Build ( KeyFrameResource resource ) : void

リソースを指定してモーションを切り替え

CellMap ( int index ) : CellMap

セルマップの取得

ChangeMotion ( KeyFrameResource resource ) : void

モーションの変更

DestroySelf ( ) : void

自分がいるゲームオブジェクトを破棄する

FindPart ( string name ) : SpritePart

パーツ検索

NotifyUserData ( SpritePart part, attribute data ) : void

ユーザーデータキーの通知

Pause ( ) : void

一時停止する

Play ( ) : void

再生

SetPosition ( float x, float y ) : void

座標指定

SetRotation ( float degree ) : void

回転指定

SetScale ( float x, float y ) : void

拡縮指定

Setup ( int fps, int frames, float pivotX, float pivotY ) : void

基本設定

SetupCellMaps ( List cellMaps ) : void

セルマップの設定

SetupSpriteHolder ( ) : void

Spriteを保持する場所を設定

UpdatePriority ( ) : void

優先度の更新

Private Methods

Méthode Description
LateUpdate ( ) : void

遅延更新

OnDestroy ( ) : void

破棄

Start ( ) : void

開始

Update ( ) : void

更新

Method Details

AddPart() public méthode

追加
public AddPart ( SpritePart part ) : void
part SpritePart
Résultat void

AddSprite() public méthode

レンダラ追加
public AddSprite ( SpritePartRenderer renderer ) : void
renderer SpritePartRenderer
Résultat void

Build() public méthode

リソースを指定してモーションを切り替え
public Build ( KeyFrameResource resource ) : void
resource KeyFrameResource
Résultat void

CellMap() public méthode

セルマップの取得
public CellMap ( int index ) : CellMap
index int
Résultat CellMap

ChangeMotion() public méthode

モーションの変更
public ChangeMotion ( KeyFrameResource resource ) : void
resource KeyFrameResource
Résultat void

DestroySelf() public méthode

自分がいるゲームオブジェクトを破棄する
public DestroySelf ( ) : void
Résultat void

FindPart() public méthode

パーツ検索
public FindPart ( string name ) : SpritePart
name string
Résultat SpritePart

NotifyUserData() public méthode

ユーザーデータキーの通知
public NotifyUserData ( SpritePart part, attribute data ) : void
part SpritePart
data attribute
Résultat void

Pause() public méthode

一時停止する
public Pause ( ) : void
Résultat void

Play() public méthode

再生
public Play ( ) : void
Résultat void

SetPosition() public méthode

座標指定
public SetPosition ( float x, float y ) : void
x float
y float
Résultat void

SetRotation() public méthode

回転指定
public SetRotation ( float degree ) : void
degree float
Résultat void

SetScale() public méthode

拡縮指定
public SetScale ( float x, float y ) : void
x float
y float
Résultat void

Setup() public méthode

基本設定
public Setup ( int fps, int frames, float pivotX, float pivotY ) : void
fps int
frames int
pivotX float
pivotY float
Résultat void

SetupCellMaps() public méthode

セルマップの設定
public SetupCellMaps ( List cellMaps ) : void
cellMaps List
Résultat void

SetupSpriteHolder() public méthode

Spriteを保持する場所を設定
public SetupSpriteHolder ( ) : void
Résultat void

UpdatePriority() public méthode

優先度の更新
public UpdatePriority ( ) : void
Résultat void