ProjectExporterModel.cs 577 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. namespace AssetBank.DockableWindow
  3. {
  4. // Represents a single asset (file or folder) that can be exported.
  5. public class AssetModel
  6. {
  7. public string Path { get; }
  8. public string Name { get; }
  9. public bool IsSelected { get; set; }
  10. public List<AssetModel> Children { get; }
  11. public AssetModel(string path, string name)
  12. {
  13. Path = path;
  14. Name = name;
  15. IsSelected = true; // Default to selected
  16. Children = new List<AssetModel>();
  17. }
  18. }
  19. }