Class SkeletonAsset
Asset representing character's Skeleton.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.U2D.Animation
Assembly: Unity.2D.Animation.Runtime.dll
Syntax
public class SkeletonAsset : ScriptableObject
Methods
GetSpriteBones()
Allows to get Skeleton bones.
Declaration
public SpriteBone[] GetSpriteBones()
Returns
Type | Description |
---|---|
SpriteBone[] | Skeleton's SpriteBone array. |
SetSpriteBones(SpriteBone[])
Allows to set new Skeleton bones.
Declaration
public void SetSpriteBones(SpriteBone[] spriteBones)
Parameters
Type | Name | Description |
---|---|---|
SpriteBone[] | spriteBones | New SpriteBone array. |