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