public T Acquire() { T obj; if (pool.Count > 0) { obj = pool.Pop(); } else { obj = new T(); } #if DEBUG NetAssert.True(obj.pooled); obj.pooled = false; #endif return(obj); }
public NetworkArray_Entity(int length, int stride) : base(length, stride) { NetAssert.True(stride == 1); }
internal NetworkArray_ProtocolToken(int length, int stride) : base(length, stride) { NetAssert.True(stride == 1); }