com.alicizax.unity/Runtime/Helper/ObjectHelper.cs

13 lines
258 B
C#
Raw Normal View History

2025-03-24 13:16:51 +08:00
namespace AlicizaX
2025-02-07 16:04:12 +08:00
{
[UnityEngine.Scripting.Preserve]
public static class ObjectHelper
{
[UnityEngine.Scripting.Preserve]
public static void Swap<T>(ref T t1, ref T t2)
{
(t1, t2) = (t2, t1);
}
}
}