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