17 lines
426 B
C#
17 lines
426 B
C#
![]() |
using System;
|
||
|
using Sirenix.OdinInspector;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace DDD
|
||
|
{
|
||
|
public class BaseUiActionsInputBindingSo<T> : ScriptableObject where T : Enum
|
||
|
{
|
||
|
public InputActionMaps InputActionMaps;
|
||
|
|
||
|
[EnumToggleButtons]
|
||
|
public T BindingActions;
|
||
|
|
||
|
[ReadOnly, LabelText("Addressable Key")]
|
||
|
public string AddressableKey => $"{typeof(T).Name}_InputBindingSo";
|
||
|
}
|
||
|
}
|