CollectResult.cs 612 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. namespace YooAsset.Editor
  4. {
  5. public class CollectResult
  6. {
  7. /// <summary>
  8. /// 收集命令
  9. /// </summary>
  10. public CollectCommand Command { private set; get; }
  11. /// <summary>
  12. /// 收集的资源信息列表
  13. /// </summary>
  14. public List<CollectAssetInfo> CollectAssets { private set; get; }
  15. public CollectResult(CollectCommand command, List<CollectAssetInfo> collectAssets)
  16. {
  17. Command = command;
  18. CollectAssets = collectAssets;
  19. }
  20. }
  21. }