SpriteFactory.Sprite.defaultAnimationOverride
C#: int defaultAnimationOverride
JS: var defaultAnimationOverride : int
Description
Overrides the MasterSprite's default animation with an animation in this Sprite at the index.
This value should be set in the inspector before gameplay begins. If you need to change this value during gameplay via scripting, it's recommended to set it via the defaultAnimation or defaultAnimationIndex properties instead. (The reason is that changes to defaultAnimationOverride may take place 1 frame after being set, whereas changes to the aforementioned properties takes place immediately.)
See Also
defaultAnimation
defaultAnimationIndex