Property | Type | Description | |
---|---|---|---|
thisType |
Method | Description | |
---|---|---|
Pause ( ) : void |
暂定动画
|
|
Play ( ) : void |
播放动画
|
|
RemoveAnimation ( ) : void |
移除动画的设置
|
|
RemoveBlock ( ) : void |
移除图块的设置
|
|
Replay ( ) : void |
重新播放动画
|
|
SetAnimation ( string name ) : void |
设置动画
|
|
SetAnimation ( string name, int loops, float speed, bool play ) : void |
设置动画
|
|
SetBlock ( string name ) : void |
设置图块
|
|
Setup ( string packID ) : void |
通过资源包ID装载组件
|
|
SpriteRenderComponent ( ) : System |
创建一个精灵
|
|
Stop ( ) : void |
停止动画
|
Method | Description | |
---|---|---|
ICall_SpriteRenderComponent_Bind ( |
||
ICall_SpriteRenderComponent_GetAnimationLoops ( |
||
ICall_SpriteRenderComponent_GetAnimationName ( |
||
ICall_SpriteRenderComponent_GetAnimationSpeed ( |
||
ICall_SpriteRenderComponent_GetBlockName ( |
||
ICall_SpriteRenderComponent_GetPackageID ( |
||
ICall_SpriteRenderComponent_GetPackageID ( |
||
ICall_SpriteRenderComponent_GetPlayOnWake ( |
||
ICall_SpriteRenderComponent_IsAnimationPlaying ( |
||
ICall_SpriteRenderComponent_Pause ( |
||
ICall_SpriteRenderComponent_Play ( |
||
ICall_SpriteRenderComponent_RemoveAnimation ( |
||
ICall_SpriteRenderComponent_RemoveBlock ( |
||
ICall_SpriteRenderComponent_Replay ( |
||
ICall_SpriteRenderComponent_SetAnimation ( |
||
ICall_SpriteRenderComponent_SetAnimationSpeed ( |
||
ICall_SpriteRenderComponent_SetBlock ( |
||
ICall_SpriteRenderComponent_SetPlayOnWake ( |
||
ICall_SpriteRenderComponent_Setup ( |
||
ICall_SpriteRenderComponent_Stop ( |
||
SpriteRenderComponent ( DummyClass__ dummy ) : System |
public SetAnimation ( string name, int loops, float speed, bool play ) : void | ||
name | string | 动画名 |
loops | int | 播放循环 |
speed | float | 动画速度,默认为1.0f. |
play | bool | 是否现在播放 |
return | void |