Свойство | Type | Description | |
---|---|---|---|
textureAnimations | TextureAnim[], |
Méthode | 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 |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
Init ( ) : void |
public AddAnimation ( UVAnimation, anim ) : void | ||
anim | UVAnimation, | The animation to add |
Résultat | void |
public Aggregate ( PathFromGUIDDelegate guid2Path, LoadAssetDelegate load, GUIDFromPathDelegate path2Guid ) : void | ||
guid2Path | PathFromGUIDDelegate | |
load | LoadAssetDelegate | |
path2Guid | GUIDFromPathDelegate | |
Résultat | void |
public Copy ( SpriteRoot, s ) : void | ||
s | SpriteRoot, | A reference to the sprite to be copied. |
Résultat | 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. |
Résultat | 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. |
Résultat | PackedSprite, |
public GetDefaultPixelSize ( PathFromGUIDDelegate guid2Path, AssetLoaderDelegate loader ) : Vector2 | ||
guid2Path | PathFromGUIDDelegate | |
loader | AssetLoaderDelegate | |
Résultat | Vector2 |