zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/Hotfix/Logic/Behaviour/Game/Helper/ArrayHelper.cs

12 lines
154 B
C#

namespace ET
{
public static class ObjectHelper
{
public static void Swap<T>(ref T t1, ref T t2)
{
T t3 = t1;
t1 = t2;
t2 = t3;
}
}
}