AssetReferenceInfo.cs 315 B

123456789101112131415
  1. namespace XGame.Framework.Asset
  2. {
  3. /// <summary>
  4. /// 资源被引用信息
  5. /// </summary>
  6. [System.Serializable]
  7. public struct AssetReferenceInfo
  8. {
  9. public string assetName;
  10. public string[] references;
  11. public int ReferencesCount => references?.Length ?? 0;
  12. }
  13. }