Property | Type | Description | |
---|---|---|---|
textureAnimations | TextureAnim[], |
Method | Description | |
---|---|---|
AddAnimation ( UVAnimation, anim ) : void |
Adds an animation to the sprite for its use.
|
|
Aggregate ( PathFromGUIDDelegate guid2Path, LoadAssetDelegate load, GUIDFromPathDelegate path2Guid ) : void |
Collects all textures intended for packing, as well as sprite frames, together into a standard form for processing.
|
|
Copy ( SpriteRoot, s ) : void |
Copies all the attributes of another sprite.
|
|
Create ( string name, Vector3 pos ) : PackedSprite, |
Creates a GameObject and attaches this component type to it.
|
|
Create ( string name, Vector3 pos, Quaternion rotation ) : PackedSprite, |
Creates a GameObject and attaches this component type to it.
|
|
GetDefaultPixelSize ( PathFromGUIDDelegate guid2Path, AssetLoaderDelegate loader ) : Vector2 | ||
InitUVs ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Init ( ) : void |
public AddAnimation ( UVAnimation, anim ) : void | ||
anim | UVAnimation, | The animation to add |
return | void |
public Aggregate ( PathFromGUIDDelegate guid2Path, LoadAssetDelegate load, GUIDFromPathDelegate path2Guid ) : void | ||
guid2Path | PathFromGUIDDelegate | |
load | LoadAssetDelegate | |
path2Guid | GUIDFromPathDelegate | |
return | void |
public Copy ( SpriteRoot, s ) : void | ||
s | SpriteRoot, | A reference to the sprite to be copied. |
return | void |
static public Create ( string name, Vector3 pos ) : PackedSprite, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
return | PackedSprite, |
static public Create ( string name, Vector3 pos, Quaternion rotation ) : PackedSprite, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
rotation | Quaternion | Rotation of the object. |
return | PackedSprite, |
public GetDefaultPixelSize ( PathFromGUIDDelegate guid2Path, AssetLoaderDelegate loader ) : Vector2 | ||
guid2Path | PathFromGUIDDelegate | |
loader | AssetLoaderDelegate | |
return | Vector2 |