SpriteFactory.Sprite.selfUpdate
C#: bool selfUpdate
JS: var selfUpdate : boolean
Description
Allows the sprite to update itself driving animation.
In order for a Sprite to animate, it must be updated each frame. selfUpdate allows the Sprite to update itself by calling the update in the MonoBehaviour Update function. For many uses, this may be sufficient for the Sprite to update itself every frame, but for more complex scenarios, you might want more control over when updates occur. If so, create a SpriteUpdater in your scene and assign the SpriteUpdater to the sprite. Or, another method is to call Sprite.UpdateSprite() manually each frame from a custom script.
True = Sprite updates itself each frame in the Update() cycle.
False = Update() is not run on this Sprite and Sprite will not animate.