22 lines
No EOL
716 B
C#
22 lines
No EOL
716 B
C#
using System;
|
|
using UnityEngine;
|
|
using KitsuneCafe.Input;
|
|
namespace UnityAtoms.KitsuneCafe.Input
|
|
{
|
|
/// <summary>
|
|
/// IPair of type `<ControlScheme>`. Inherits from `IPair<ControlScheme>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct ControlSchemePair : IPair<ControlScheme>
|
|
{
|
|
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; }
|
|
}
|
|
} |