The method is called by the sprite on attaching the decorator to the sprite sprite.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
protected virtual void OnAttached( XSprite sprite )  | 
Parameters
- sprite
 - Type: SGP.XSpace..::.XSprite
The XSprite sprite that the decorator has been attached to.