WindowItemConfig.cs 782 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using XRTool.Util;
  5. using static WindowConfig;
  6. [CreateAssetMenu(menuName = "WindowItemConfig")]
  7. public class WindowItemConfig : ScriptableObject
  8. {
  9. public List<windowItemGameObject> list;
  10. [Serializable]
  11. public class windowItemGameObject
  12. {
  13. public List<item> PrefabList;
  14. public windowType type;
  15. }
  16. [Serializable]
  17. public class item
  18. {
  19. public string name;
  20. public GameObject obj;
  21. }
  22. public List<windowItemTexture> listTexture;
  23. [Serializable]
  24. public class windowItemTexture
  25. {
  26. public itemTexture PrefabList;
  27. }
  28. [Serializable]
  29. public class itemTexture
  30. {
  31. public string name;
  32. public Texture obj;
  33. }
  34. }