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