13 lines
266 B
C#
13 lines
266 B
C#
![]() |
namespace AlicizaX.Runtime
|
||
|
{
|
||
|
[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);
|
||
|
}
|
||
|
}
|
||
|
}
|