示例#1
0
    private void ClearMap()
    {
        m_posToChunks.Clear();
        m_biomeManager.Clear();

        foreach (var chunk in m_chunks)
        {
            Destroy(chunk.ChunkObject);
        }
        m_chunks.Clear();
    }