com.alicizax.unity.framework/Runtime/ABase/Structs/Pair.cs
2026-03-23 19:10:57 +08:00

17 lines
314 B
C#

namespace AlicizaX
{
public struct Pair<T1, T2>
{
public T1 Key { get; set; }
public T2 Value { get; set; }
public bool IsAssigned => Key != null && Value != null;
public Pair(T1 key, T2 value)
{
Key = key;
Value = value;
}
}
}