BITKit/Src/UnityEditor/AssetCacheScriptableObject.cs

21 lines
536 B
C#
Raw Normal View History

2023-10-24 23:38:22 +08:00
using System.Collections;
using System.Collections.Generic;
2024-03-31 23:31:00 +08:00
using AYellowpaper.SerializedCollections;
2023-11-15 23:55:06 +08:00
#if UNITY_EDITOR
2023-10-24 23:38:22 +08:00
using UnityEditor;
using UnityEditor.UIElements;
2023-11-15 23:55:06 +08:00
#endif
2023-10-24 23:38:22 +08:00
using UnityEngine;
using UnityEngine.UIElements;
2024-03-31 23:31:00 +08:00
namespace BITKit.GameEditor
2023-10-24 23:38:22 +08:00
{
public class AssetCacheScriptableObject : ScriptableObject
{
[SerializeField] private Object[] _assets;
2024-03-31 23:31:00 +08:00
[SerializeField] private SerializedDictionary<string, Object[]> folders;
2023-10-24 23:38:22 +08:00
public Object[] Assets => _assets;
2024-03-31 23:31:00 +08:00
public Dictionary<string, Object[]> Folders=>folders;
2023-10-24 23:38:22 +08:00
}
}