using UnityEditor.EditorTools;
using UnityEngine;
namespace UnityEditor.Tilemaps
{
///
/// Tool for doing a move with the Tile Palette
///
public sealed class MoveTool : TilemapEditorTool
{
private static class Styles
{
public static string tooltipStringFormat = "|Move selection with active brush ({0})";
public static string shortcutId = "Grid Painting/Move";
public static GUIContent toolContent = EditorGUIUtility.IconContent("Grid.MoveTool", GetTooltipText(tooltipStringFormat, shortcutId));
}
///
/// Tooltip String Format for the MoveTool
///
protected override string tooltipStringFormat
{
get { return Styles.tooltipStringFormat; }
}
///
/// Shortcut Id for the MoveTool
///
protected override string shortcutId
{
get { return Styles.shortcutId; }
}
///
/// Toolbar Icon for the MoveTool
///
public override GUIContent toolbarIcon
{
get { return Styles.toolContent; }
}
}
}