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

C#: int AddSprite (SpriteFactory.Sprite sprite)
JS: function AddSprite (sprite : SpriteFactory.Sprite) : int

Description
Add a Sprite to SpriteUpdater. The Sprite will be updated by SpriteUpdater during its update cycle.

Returns the index in array where Sprite was added.
Returns -1 if Sprite could not be added.