1
This commit is contained in:
26
Packages/Runtime~/Core/Tuple/UnityTuple.cs
Normal file
26
Packages/Runtime~/Core/Tuple/UnityTuple.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace BITKit.Core.Tuple
|
||||
{
|
||||
[Serializable]
|
||||
public struct UnityTuple<T,T1>
|
||||
{
|
||||
public T Item1;
|
||||
public T1 Item2;
|
||||
}
|
||||
[Serializable]
|
||||
public struct UnityTuple<T,T1,T2>
|
||||
{
|
||||
public T Item1;
|
||||
public T1 Item2;
|
||||
public T2 Item3;
|
||||
}
|
||||
[Serializable]
|
||||
public struct UnityTuple<T,T1,T2,T3>
|
||||
{
|
||||
public T Item1;
|
||||
public T1 Item2;
|
||||
public T2 Item3;
|
||||
public T3 Item4;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user