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.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.