A game about forced loneliness, made by TACStudios
1using UnityEngine; 2 3namespace UnityEditor.Tilemaps 4{ 5 /// <summary> 6 /// Tool for doing a selection with the Tile Palette 7 /// </summary> 8 public sealed class SelectTool : TilemapEditorTool 9 { 10 private static class Styles 11 { 12 public static string tooltipStringFormat = "|Select an area of the grid ({0})"; 13 public static string shortcutId = GridPaintPaletteWindow.ShortcutIds.k_Select; 14 public static GUIContent toolContent = EditorGUIUtility.IconContent("Grid.Default", GetTooltipText(tooltipStringFormat, shortcutId)); 15 } 16 17 /// <summary> 18 /// Tooltip String Format for the SelectTool 19 /// </summary> 20 protected override string tooltipStringFormat 21 { 22 get { return Styles.tooltipStringFormat; } 23 } 24 25 /// <summary> 26 /// Shortcut Id for the SelectTool 27 /// </summary> 28 protected override string shortcutId 29 { 30 get { return Styles.shortcutId; } 31 } 32 33 /// <summary> 34 /// Toolbar Icon for the SelectTool 35 /// </summary> 36 public override GUIContent toolbarIcon 37 { 38 get { return Styles.toolContent; } 39 } 40 } 41}