mirror of
https://github.com/peng-zhihui/ElectronBot.git
synced 2026-10-28 19:18:16 +08:00
126 lines
2.1 KiB
C#
126 lines
2.1 KiB
C#
namespace UIWidgets
|
|
{
|
|
using UIWidgets.Styles;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// Prefabs templates.
|
|
/// </summary>
|
|
public class PrefabsTemplates : ScriptableObject
|
|
{
|
|
#if UNITY_EDITOR
|
|
static PrefabsTemplates instance;
|
|
|
|
/// <summary>
|
|
/// Instance.
|
|
/// </summary>
|
|
public static PrefabsTemplates Instance
|
|
{
|
|
get
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = UtilitiesEditor.LoadAssetWithGUID<PrefabsTemplates>(ReferenceGUID.PrefabsTemplates);
|
|
}
|
|
|
|
return instance;
|
|
}
|
|
|
|
set
|
|
{
|
|
instance = value;
|
|
}
|
|
}
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Autocomplete.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject Autocomplete;
|
|
|
|
/// <summary>
|
|
/// Combobox.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject Combobox;
|
|
|
|
/// <summary>
|
|
/// Combobox with enabled multiselect.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject ComboboxMultiselect;
|
|
|
|
/// <summary>
|
|
/// DragInfo.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject DragInfo;
|
|
|
|
/// <summary>
|
|
/// ListView.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject ListView;
|
|
|
|
/// <summary>
|
|
/// PickerListView.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject PickerListView;
|
|
|
|
/// <summary>
|
|
/// PickerTreeView.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject PickerTreeView;
|
|
|
|
/// <summary>
|
|
/// Scene.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject Scene;
|
|
|
|
/// <summary>
|
|
/// Table.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject Table;
|
|
|
|
/// <summary>
|
|
/// TileView.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject TileView;
|
|
|
|
/// <summary>
|
|
/// TreeGraph.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject TreeGraph;
|
|
|
|
/// <summary>
|
|
/// TreeView.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject TreeView;
|
|
|
|
/// <summary>
|
|
/// Tooltip.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public GameObject Tooltip;
|
|
|
|
/// <summary>
|
|
/// Default style.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public Style StyleDefault;
|
|
|
|
/// <summary>
|
|
/// Blue style.
|
|
/// </summary>
|
|
[SerializeField]
|
|
public Style StyleBlue;
|
|
}
|
|
} |