StationObscurum/Assets/Packages/Heat - Complete Modern UI/Scripts/Input/ControllerPreset.cs
2024-02-01 22:45:59 -05:00

26 lines
717 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace Michsky.UI.Heat
{
[CreateAssetMenu(fileName = "New Controller Preset", menuName = "Heat UI/Controller/New Controller Preset")]
public class ControllerPreset : ScriptableObject
{
[Header("Settings")]
public string controllerName = "Controller Name";
[Space(10)]
public List<ControllerItem> items = new List<ControllerItem>();
public enum ItemType { Icon, Text }
[System.Serializable]
public class ControllerItem
{
public string itemID;
public ItemType itemType;
public Sprite itemIcon;
public string itemText;
}
}
}