mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix(Extensions): UNITY_2021_3_OR_NEWER
This commit is contained in:
parent
e8ebfa150b
commit
6f28f716d5
@ -101,7 +101,7 @@ public static void Clear<T>(this ConcurrentQueue<T> source)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !UNITY_2022_0_OR_NEWER
|
#if !UNITY_2021_3_OR_NEWER
|
||||||
// Some patch versions of Unity 2021.3 and earlier don't have transform.GetPositionAndRotation which we use for performance in some places
|
// Some patch versions of Unity 2021.3 and earlier don't have transform.GetPositionAndRotation which we use for performance in some places
|
||||||
public static void GetPositionAndRotation(this Transform transform, out Vector3 position, out Quaternion rotation)
|
public static void GetPositionAndRotation(this Transform transform, out Vector3 position, out Quaternion rotation)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user