using System; using System.Collections.Generic; namespace UnityEditor.U2D.Animation { internal interface ISkinningSerializer { bool CanDeserialize(string data); SkinningCopyData Deserialize(string data); string Serialize(SkinningCopyData skinningData); } [Serializable] internal class SpriteBoneCopyData { public UnityEngine.U2D.SpriteBone spriteBone; public int order; } [Serializable] internal class SkinningCopySpriteData { public string spriteName; public List spriteBones; public List vertices; public List indices; public List edges; public List boneWeightNames; } [Serializable] internal class SkinningCopyData { public float pixelsPerUnit; public List copyData = new List(); } }