Esempio n. 1
0
        public void CellUnloaded(Int3 batchId, Int3 cellId, int level)
        {
            AbsoluteEntityCell cell = new AbsoluteEntityCell(batchId.Model(), cellId.Model(), level);

            if (visibleCells.Contains(cell))
            {
                visibleCells.Remove(cell);
                removed.Add(cell);
                MarkCellsReadyForSync(0);
            }
        }
Esempio n. 2
0
        public void CellUnloaded(Int3 batchId, Int3 cellId, int level)
        {
            VisibleCell cell = new VisibleCell(batchId, cellId, level);

            if (visibleCells.Contains(cell))
            {
                visibleCells.Remove(cell);
                removed.Add(cell);
                markCellsReadyForSync(0);
            }
        }