using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.U2D.Animation
{
///
/// Asset representing character's Skeleton.
///
public class SkeletonAsset : ScriptableObject
{
[SerializeField] private SpriteBone[] m_SpriteBones;
///
/// Allows to get Skeleton bones.
///
/// Skeleton's SpriteBone array.
public SpriteBone[] GetSpriteBones()
{
return m_SpriteBones;
}
///
/// Allows to set new Skeleton bones.
///
/// New SpriteBone array.
public void SetSpriteBones(SpriteBone[] spriteBones)
{
m_SpriteBones = spriteBones;
}
}
}