123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using UnityEngine;
- using XRTool.Util;
- using static WindowConfig;
- [CreateAssetMenu(menuName = "WindowItemConfig")]
- public class WindowItemConfig : ScriptableObject
- {
- public List<windowItemGameObject> list;
- public List<JsonAsset> listJosn;
- [Serializable]
- public class windowItemGameObject
- {
- public List<item> PrefabList;
- public windowType type;
- }
- [Serializable]
- public class item
- {
- public string name;
- public GameObject obj;
- }
- public List<windowItemTexture> listTexture;
- [Serializable]
- public class windowItemTexture
- {
- public itemTexture PrefabList;
- }
- [Serializable]
- public class itemTexture
- {
- public string name;
- public Texture obj;
- }
- [Serializable]
- public class JsonAsset
- {
- public string name;
- public TextAsset obj;
- }
- }
|