mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-29 19:32:51 -05:00
22 lines
715 B
C#
22 lines
715 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityAtoms.Mobile;
|
|
namespace UnityAtoms.Mobile
|
|
{
|
|
/// <summary>
|
|
/// IPair of type `<TouchUserInput>`. Inherits from `IPair<TouchUserInput>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct TouchUserInputPair : IPair<TouchUserInput>
|
|
{
|
|
public TouchUserInput Item1 { get => _item1; set => _item1 = value; }
|
|
public TouchUserInput Item2 { get => _item2; set => _item2 = value; }
|
|
|
|
[SerializeField]
|
|
private TouchUserInput _item1;
|
|
[SerializeField]
|
|
private TouchUserInput _item2;
|
|
|
|
public void Deconstruct(out TouchUserInput item1, out TouchUserInput item2) { item1 = Item1; item2 = Item2; }
|
|
}
|
|
} |