CTT/Unity/Assets/Hotfix/Logic/Behaviour/Game/Helper/ArrayHelper.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;
}
}
}