Manifest.cs 595 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. [Serializable]
  6. public class AssetRef
  7. {
  8. public string name;
  9. public int bundle;
  10. public int dir;
  11. }
  12. [Serializable]
  13. public class BundleRef
  14. {
  15. public string name;
  16. public int id;
  17. public int[] deps;
  18. public long len;
  19. public string hash;
  20. }
  21. public class Manifest : ScriptableObject
  22. {
  23. public string[] activeVariants = new string[0];
  24. public string[] dirs = new string[0];
  25. public AssetRef[] assets = new AssetRef[0];
  26. public BundleRef[] bundles = new BundleRef[0];
  27. }