using UnityEngine.U2D;

namespace UnityEngine.UI.PackgTool
{
    [System.Serializable]
    public class PackInfo
    {
        public string packName="";

        /// <summary>
        /// 没有Assets
        /// </summary>
        public string packgJsonPath;

        public string PackageJsonPath
        {
            get => packgJsonPath.Replace("\\", "/");
            set => packgJsonPath = value;
        }
        
        /// <summary>
        /// 有Assets
        /// </summary>
        public string packgSpritePath;
        public string lasetJsonGUID;
        [System.NonSerialized]  public bool isShowTextrue;
        [System.NonSerialized] public bool isUpdate;
        [System.NonSerialized] public SpriteAtlas spriteAtlas;
        [System.NonSerialized] public bool isPackError;
        [System.NonSerialized] public Vector2 movePos;
        [System.NonSerialized] public TextrueJson textrueJson;
    }
}