public void ManualUpdate() { for (int i = hits.Count - 1; i >= 0; i--) { hits[i].Set(); pool.Return(hits[i]); } hits.Clear(); }
void InnerRemoveAt(NodeByID <T> node, int index) { if (node.ID == ids) { ids--; } elems.RemoveAt(index); nodePool.Return(node.Clear()); }
public static void Return(NetworkHits hits) { hits.Clear(); m_PoolHits.Return(hits); }