using System;
namespace XGame.Framework.Asset
{
[System.Serializable]
public struct AtlasAlphaTextureInfo : IComparable
{
///
/// 贴图的addressableName
///
public string textureName;
///
/// 贴图的GUID
///
public string textureGUID;
///
/// 图集名字
///
public string atlasName;
//public string atlasName;
public string[] sprites;
public int CompareTo(object obj)
{
if (obj is AtlasAlphaTextureInfo compareInfo)
{
return string.CompareOrdinal(this.textureName, compareInfo.textureName);
}
return -1;
}
}
}