using System; using UnityEngine; using KitsuneCafe.Input; namespace UnityAtoms.KitsuneCafe.Input { /// /// IPair of type `<ActionMap>`. Inherits from `IPair<ActionMap>`. /// [Serializable] public struct ActionMapPair : IPair { public ActionMap Item1 { get => _item1; set => _item1 = value; } public ActionMap Item2 { get => _item2; set => _item2 = value; } [SerializeField] private ActionMap _item1; [SerializeField] private ActionMap _item2; public void Deconstruct(out ActionMap item1, out ActionMap item2) { item1 = Item1; item2 = Item2; } } }