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