Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

SpriteFactory.Sprite.defaultAnimation

Property: Read/Write

C#: string defaultAnimation
JS: defaultAnimation : String

Description
The name of the default animation. Returns null if no default animation.

You can change the default animation by name by setting this property. If the old default animation in currently playing when this property is changed, you will need to call PlayDefaultAnimation in order to begin playing the new default animation.

See Also
defaultAnimationIndex