zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/Model/Core/Helper/ObjectHelper.cs

12 lines
154 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
namespace ET
{
public static class ObjectHelper
{
public static void Swap<T>(ref T t1, ref T t2)
{
T t3 = t1;
t1 = t2;
t2 = t3;
}
}
}