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TJGODMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUEyNTFCMTg2RDQ1RTcxMUI5NUI4NjA2QUNBNTJGODMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6LMGcgAAAAD1BMVEU9PT23t7eCgoKUlJT////v6xIUAAAABXRSTlP/////APu2DlMAAAAiSURBVHjaYmBhAAEgyczIyMgMZDIyMTExYqGh8lD1AAEGAAaQADumF6mwAAAAAElFTkSuQmCC"; active = "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVQTFRF8fHx8PDw+vr6+Pj45+fncnJy////in2hCgAAAAd0Uk5T////////ABpLA0YAAAAkSURBVHjaYmBjBQE2BlYGJmZmRlYGViYWFhZmLDRUHqoeIMAAFUgAwkR90JsAAAAASUVORK5CYII="; } else { normal = "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNpi/P//P0NxcfF/BjTQ29vLyFBUVPT/4cOH/z99+gTHID5InAWkSlBQkAEoANclLy8PppkY8AC8kmBj379/DzcKxgcBRnyuBQgwACVNLqBePwzmAAAAAElFTkSuQmCC"; active = "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVQTFRF8fHx8PDw+vr6+Pj45+fncnJy////in2hCgAAAAd0Uk5T////////ABpLA0YAAAAkSURBVHjaYmBjBQE2BlYGJmZmRlYGViYWFhZmLDRUHqoeIMAAFUgAwkR90JsAAAAASUVORK5CYII="; } styleBig = new GUIStyle(); styleBig.alignment = TextAnchor.MiddleCenter; styleBig.normal.background = SimpleGUICommon.StringToTexture(normal); //CreatePixelTexture("test", GetColor("#ffffff")); styleBig.active.background = SimpleGUICommon.StringToTexture(active); styleBig.border = new RectOffset(2, 2, 2, 2); styleBig.padding = new RectOffset(12, 12, 12, 12); styleBig.margin = new RectOffset(2, 2, 2, 2); styleBig.clipping = TextClipping.Overflow; styleBig.fontSize = 14; //styleBig.fontStyle = FontStyle.Bold; }
public static void Set_HeroPropertyIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyODhGMkE2MzY5NDJFNzExQjczQ0VBNDU5OTgxRDYzNSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFOEE0MDNCNTQyN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lwDsbmClFZmMwHLG0hJjKS2q3FZ3kBqDiCnJ4FueQM52Q4gwABRZYZmrSdDvAAAAABJRU5ErkJggg=="; heroPropertyIcon = new GUIContent(); heroPropertyIcon.image = SimpleGUICommon.StringToTexture(icon); }
public static void Set_HeroObjectIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUBJREFUeNrEljsKwkAQhjdDwAvYS3pvogfQwiPYWahoMibgATyAjY1Y2XmHXENBe0HQyo0QWTWPmXGjAwMJm+TbfzKPdQ7HkxJapN3RPpG87AqhUwN40x5yPwBCqAmaaferBk9y1LHhwFQaFayz4CAMbxE8sAWeMpMHKXCwDCXDXQp0s43VYhc/F1bjjvIa9ed9d7BU+/Plcd1uemrYb6XwNPxkxb5QaZZypIL9vF0KLciCQ8ZDNqG5cCjbWVVw1wgvGdqbr7+BP/59Ap5rH6nfWQKvgfqTJYrH2q+cUBfVMcGSMg3AKHL8gdAw/c/w1uCrhL8MEMhYxIqUYlnnIo82idLUnILDno3WOeP06o9EsA2lzGMpvDRXgFMCtqCcM1dIPMghtSo4LTMqgSMnGbm9Og+O3AqQDIl3OErK7i7AAA3qUSE8iXxsAAAAAElFTkSuQmCC"; heroObjectIcon = new GUIContent(); heroObjectIcon.image = SimpleGUICommon.StringToTexture(icon); }
public static void Set_HeroActionIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCB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n1A3KIE19r/BsxzvlOFI0dOk4L4SHPkMrwge7xR4TjF5dBk46jBUGt6lCjXX1mDl1UuwTmvs2ujUFNyemWkHb4Rf2uMYz9Ni6gP82t6GSrnE1Eh/FHmuy4JjvK88qVTgR/4rtbvDYQhhJXJgGLC38YUHj7eDozYPJXg77G8VYH/zG7UHxsbg+uRdaterVdhZ/ST6SVvgyOvL3FLK5sCxbWpfvDEIww8fgIbOtthZXQHbsqThyBVeIdSu1cBIpahNYJHRERi4NQLBnp6zaBQKgAIBr2xncAJ+LgpvQ37iEB8YRWqHenvhWnQCwpEIXL0TZc9k3y7KlBqBv5DuTlvLy+fe43Dn37+jXbF6+JtdN9JpGH/0GAKhkFRbfEYSVhRqkjylbJata8fH8HlhoeW5SrksAyVlGkeuIueC9/IbcGianl6cHB1B5s1rT2jzyZVoOnGYlHM56jUR4tH49DR09/XRteM4UFhawmW2Sde76+uiBqLzjsy28OLfbCZyaWgIok+e/pvxdYuBzUyG56nudVYTuOPO9EAwCBcuX6H24L37xE2cVxp7of/mMLtvW3Whpw3RBMNeTKbMJPqz9Fndkgidhsr0Y7/whNdJKDOBqMI9oSoz17zkIKfLQFWnzKQHXFdJRtW5mgfXVSvAzz+JZrjup+z+CDAAWsHUC7TPsRcAAAAASUVORK5CYII="; heroActionIcon = new GUIContent(); heroActionIcon.image = SimpleGUICommon.StringToTexture(icon); }
private static void Set_DeleteIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRF////yikAkwAA/8z/mqSwxMvU/2wUucTPKjVA1tzisLvH8PP04+rwbHaCh5Gb////upeMdgAAABB0Uk5T////////////////////AOAjXRkAAAB4SURBVHjaTI8LDsMwCEMN+S0lNPe/bU2ydXmSJXgSlsAMnMwN1m7Ef8IPQjj+dA9ho/dS2nXlfC/hPZObbDEdxUbuLV/N5yEGMMohDCJgXgFJSSKv0FpTqlUpbJ/QcD87QqwO+3YI2R2ADaiIRvjtJ2ArZ9X5CDAAJH8IPyIdS2gAAAAASUVORK5CYII="; deleteIcon = new GUIContent(); deleteIcon.image = SimpleGUICommon.StringToTexture(icon); deleteIcon.tooltip = "Delete this item."; }
private static void Set_RestoreIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjUwMzkyQzNBNDU3MTExRTdCRDBDQTY1MTVGNjY3RTM0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjUwMzkyQzNCNDU3MTExRTdCRDBDQTY1MTVGNjY3RTM0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTAzOTJDMzg0NTcxMTFFN0JEMENBNjUxNUY2NjdFMzQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NTAzOTJDMzk0NTcxMTFFN0JEMENBNjUxNUY2NjdFMzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz61+F6tAAAAeFBMVEUAAACm1p2s2aOWzY2g05ij1Zqo15+WzoyTzIuMxoOp2KB7uXOe0ZV1tG2a0JF0tWuFxX1qrmOQy4mGxX+u2qSw26er2aKNyYZusWVxsGpdolav26ZhpVmNyYWLyIWBv3mx3KeIx4Kt2aOTy4pprWFemVlvsmb////SMO/QAAAAKHRSTlP///////////////////////////////////////////////////8AvqouGAAAAGZJREFUeNp8j8kSQ1AQRQ9iiCkxJmaCvP//QwtUaaXc5anuO6BO4gqwawP0Waq7mv98sYHql1ua+bBDD/liOEhT3gGKQxRJtwIKxAX/SHjwHePPMYWpaQfZoy5lU8XMaRx3axcBBgBp0xmuZUKsfgAAAABJRU5ErkJggg=="; restoreIcon = new GUIContent(); restoreIcon.image = SimpleGUICommon.StringToTexture(icon); restoreIcon.tooltip = "Restore last deleted item."; }
private static void Set_PasteIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRFilYj3LmIeUMXnJiT5cOP+Pj40q5/o3I0m2kvd3d3cz0TyKN4sLCw6enp////////MaT6uQAAABB0Uk5T////////////////////AOAjXRkAAABsSURBVHjaVM5REoAgCEVRC0EtwP3vNhAzuz/mmTdOqXsMAMzjM3UqdlNEtKOQQZGGKBZik+KQuc04B+hqQM0qM801gK0d+n+RjrHw9EgBaxFA70KUJqzFgNMWMt+g0+H+fuwO2HKAawv6I8AAi60KkM5e2GsAAAAASUVORK5CYII="; pasteIcon = new GUIContent(); pasteIcon.image = SimpleGUICommon.StringToTexture(icon); pasteIcon.tooltip = "Paste an item you copied below this item."; }
private static void Set_CopyIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRF1NTUtLS02traxsbGsLCw6urq7e3tr6+v8PDw/v7+9fX19PT0+vr6////AAAA////U/ddPAAAABB0Uk5T////////////////////AOAjXRkAAAB6SURBVHjaTNBRDsQgCARQESwiCve/7SJZbefPRzIQi7ud+E5xa5Hn6V3tQGFGYBwHcqpjzAO92acmQDXs1gSMag1vTcCct+YPaD0WMRHOBBHLJRFJWMtGIapImLBPz6lIjDb4riEA0FUP5HQp8oV4rgmcl6a8H/ATYADPIQsWeC2Y+wAAAABJRU5ErkJggg=="; copyIcon = new GUIContent(); copyIcon.image = SimpleGUICommon.StringToTexture(icon); copyIcon.tooltip = "Copy this item."; }
private static void Set_AddIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRFBUMFtLS0xsbG/v7+7e3tsLCw8PDw9PT09fX1r6+v+vr6AF0A//////8AAAAA////cCrdNwAAABB0Uk5T////////////////////AOAjXRkAAAB0SURBVHjalI8xEgQhCAQRF1dE5f+/vUEM7sLrgKBnaqogp/2FO/l+Lq21dx/Bqly44PYUyF7QwRENDRUVER5HRDaS+t+GgZ8NW8tyo7PIg3hFJ8SZR75MVwqWUjLPRq11TqLIr5hgzOhQfOv3c3TM3T8CDADtpwmmvA50ugAAAABJRU5ErkJggg=="; addIcon = new GUIContent(); addIcon.image = SimpleGUICommon.StringToTexture(icon); addIcon.tooltip = "Create a new item below this item."; }
private static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5ubn5+fo6Ojp6enq6urr6+vs7Ozt7e3u7u7v7+/w8PDx8fHy8vLz8/P09PT19fX29vb39/f4+Pj5+fn6+vr7+/v8/Pz9/f3+/v7////NwWYUAAAACHRSTlP/////////AN6DvVkAAAAvSURBVHjaYmBHAwxUEhCGA5gAGxTABGAiwggzhOF8mKHCMD7cFmFhKrsUBQAEGAA9cgfdV8HjNgAAAABJRU5ErkJggg=="; moveDownIcon = new GUIContent(); moveDownIcon.image = SimpleGUICommon.StringToTexture(icon); moveDownIcon.tooltip = "Move this item down."; }
private static void Set_MenuIcon() { string icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAKklEQVQ4jWNgGDZgPwMDw38S8V4GBgYGJqgBLGRYSo4eGoLRMBgNA4oAAAe1KG+zgbMAAAAAAElFTkSuQmCC"; menuIcon = new GUIContent(); menuIcon.image = SimpleGUICommon.StringToTexture(icon); menuIcon.tooltip = "View Settings for HeroKit"; }
private static void Set_StyleB() { string normal = "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNpi/P//P0NxcfF/BjTQ29vLyFBUVPT/4cOH/z99+gTHID5InAWkSlBQkAEoANclLy8PppkY8AC8kmBj379/DzcKxgcBRnyuBQgwACVNLqBePwzmAAAAAElFTkSuQmCC"; string active = "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVQTFRF8fHx8PDw+vr6+Pj45+fncnJy////in2hCgAAAAd0Uk5T////////ABpLA0YAAAAkSURBVHjaYmBjBQE2BlYGJmZmRlYGViYWFhZmLDRUHqoeIMAAFUgAwkR90JsAAAAASUVORK5CYII="; styleB = new GUIStyle(); styleB.alignment = TextAnchor.MiddleLeft; styleB.normal.background = SimpleGUICommon.StringToTexture(normal); //CreatePixelTexture("test", GetColor("#ffffff")); styleB.active.background = SimpleGUICommon.StringToTexture(active); styleB.border = new RectOffset(2, 2, 2, 2); styleB.padding = new RectOffset(2, 2, 2, 2); styleB.margin = new RectOffset(2, 2, 2, 2); styleB.clipping = TextClipping.Overflow; styleB.fontSize = 10; }