internal static void FlushCache()
 {
     s_RefreshCache = true;
     if (instance.m_Brushes != null)
     {
         instance.m_Brushes.Clear();
         GridPaintingState.FlushCache();
     }
 }
Ejemplo n.º 2
0
        internal static void FlushCache()
        {
            GridPaletteBrushes.s_RefreshCache = true;
            if (ScriptableSingleton <GridPaletteBrushes> .instance.m_Brushes != null)
            {
                ScriptableSingleton <GridPaletteBrushes> .instance.m_Brushes.Clear();

                GridPaintingState.FlushCache();
            }
        }