Semi Mod Loader
|
Wrapper struct for tk2dSpriteAnimator
that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimator
s.
More...
Static Public Member Functions | |
static implicit | operator tk2dSpriteAnimator (SpriteAnimator s) |
Implicit cast operator that allows you to use SpriteAnimator anywhere where tk2dSpriteAnimator is expected. More... | |
static SpriteAnimator | Construct (GameObject parent, SpriteAnimation animation, string default_clip=null) |
Constructs a new sprite animator. More... | |
Public Attributes | |
tk2dSpriteAnimator | Wrap |
Real tk2d object. More... | |
Wrapper struct for tk2dSpriteAnimator
that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimator
s.
|
inlinestatic |
Constructs a new sprite animator.
parent | The game object to add this animator to. |
animation | The SpriteAnimation object to use for the animator. |
default_clip | Optional name of the default clip. If not set, the first clip will be used. |
|
static |
Implicit cast operator that allows you to use SpriteAnimator
anywhere where tk2dSpriteAnimator
is expected.
tk2dSpriteAnimator Semi.SpriteAnimator.Wrap |
Real tk2d object.