What is SpriteAnimation
SpriteAnimation is a component inherited from MonoBehaviour. It can play SpriteAnimationClip in scene.
How to use
-
Set clips in animations.
-
If clip is not none, active the gameobject with a SpriteAnimation can preview the clip in edit mode.
SpriteAnimation members in Inspector
-
Clip
-
The default animation that will be played when Play Automatically is enabled.
-
-
Animations
-
A list of animations that can be accessed from scripts.
-
-
Play Automatically
-
Should the animation be played automatically when starting the game?
-
-
Animate Only If Visible
-
When enabled, the currently playing animation will not play if the object is not visible on the screen.
-
This property not implemented yet.
-