17 lines
509 B
C#
17 lines
509 B
C#
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>();
|
|
} |