Beispiel #1
0
        /// <summary>
        /// Clear color channel from all tilemap chunks
        /// </summary>
        public void ClearColorChannel()
        {
            var valueIter = m_dicChunkCache.Values.GetEnumerator();

            while (valueIter.MoveNext())
            {
                TilemapChunk chunk = valueIter.Current;
                if (chunk)
                {
                    chunk.ClearColorChannel();
                }
            }
        }