CollectResult.cs 558 B

123456789101112131415161718192021222324252627
  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)
  16. {
  17. Command = command;
  18. }
  19. public void SetCollectAssets(List<CollectAssetInfo> collectAssets)
  20. {
  21. CollectAssets = collectAssets;
  22. }
  23. }
  24. }