/// <summary>
        /// Show tileset in designer window.
        /// </summary>
        /// <param name="tileset">Tileset asset.</param>
        public static void ShowTilesetInDesigner(Tileset tileset)
        {
            // Ensure that designer window is shown.
            DesignerWindow designer = DesignerWindow.ShowWindow();

            // Show tileset in designer.
            designer.SelectedObject = tileset;

            // Focus designer window?
            if (EditorWindow.focusedWindow != designer)
            {
                designer.Focus();
            }
        }
        /// <summary>
        /// Show brush in designer window.
        /// </summary>
        /// <param name="brush">Brush asset.</param>
        public static void ShowBrushInDesigner(Brush brush)
        {
            // Ensure that designer window is shown.
            DesignerWindow designer = DesignerWindow.ShowWindow();

            // Show brush in designer.
            designer.SelectedObject = brush;

            // Focus designer window?
            if (EditorWindow.focusedWindow != designer)
            {
                designer.Focus();
            }
        }