/// <summary> /// Sets the current active theme /// </summary> /// <param name="visual"> the theme which is currently active</param> public void Display(Visuals_Enum visual) { foreach (var theme in Themes) { if (visual == theme.VisualTheme) { _negative = false; _i = 0; _theme = theme; break; } else { _theme = null; ImageCanvas.texture = blackImage; } } }
private static void ProcessVisual(Visuals_Enum visual) { VisualProcessor.Instance.Display(visual); }