mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fixed comment
This commit is contained in:
parent
3839fafade
commit
63fdd53903
@ -40,7 +40,7 @@ public static void CopyTo<T>(this IEnumerable<T> source, List<T> destination)
|
||||
}
|
||||
|
||||
#if !UNITY_2021_OR_NEWER
|
||||
// Unity 2019 / 2020 don't have Queue.TryDeque which we need for batching.
|
||||
// Unity 2020 and earlier doesn't have Queue.TryDequeue which we need for batching.
|
||||
public static bool TryDequeue<T>(this Queue<T> source, out T element)
|
||||
{
|
||||
if (source.Count > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user