clean
This commit is contained in:
17
Assets/Scripts/Editor/PrefabBrowserDatabase.cs
Normal file
17
Assets/Scripts/Editor/PrefabBrowserDatabase.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[System.Serializable]
|
||||
public class PrefabGroup
|
||||
{
|
||||
public string groupName;
|
||||
public Color groupColor = new Color(0.3f, 0.3f, 0.3f, 1f);
|
||||
public bool useLightText = true;
|
||||
public List<GameObject> prefabs = new List<GameObject>();
|
||||
}
|
||||
|
||||
[CreateAssetMenu(fileName = "PrefabBrowserDB", menuName = "Tools/Prefab Browser Database")]
|
||||
public class PrefabBrowserDatabase : ScriptableObject
|
||||
{
|
||||
public List<PrefabGroup> groups = new List<PrefabGroup>();
|
||||
}
|
||||
Reference in New Issue
Block a user