From 55d289f8eff1af2d2a2ff02c878faa354dcf6c91 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 8 Sep 2021 10:54:48 +0800 Subject: *move directory --- .../BOXOPHOBIC/Utils/Editor/Constants/Constants.cs | 138 --------------------- 1 file changed, 138 deletions(-) delete mode 100644 Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs (limited to 'Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs') diff --git a/Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs b/Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs deleted file mode 100644 index 7580a347..00000000 --- a/Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs +++ /dev/null @@ -1,138 +0,0 @@ -// Cristian Pop - https://boxophobic.com/ - -using UnityEngine; -using UnityEditor; - -namespace Boxophobic.Constants -{ - public static class CONSTANT - { - public static Texture2D LogoImage - { - get - { - return Resources.Load("Boxophobic - Logo") as Texture2D; - } - } - - public static Texture2D BannerImageBegin - { - get - { - return Resources.Load("Boxophobic - BannerBegin") as Texture2D; - } - } - - public static Texture2D BannerImageMiddle - { - get - { - return Resources.Load("Boxophobic - BannerMiddle") as Texture2D; - } - } - - public static Texture2D BannerImageEnd - { - get - { - return Resources.Load("Boxophobic - BannerEnd") as Texture2D; - } - } - - public static Texture2D CategoryImageBegin - { - get - { - return Resources.Load("Boxophobic - CategoryBegin") as Texture2D; - } - } - - public static Texture2D CategoryImageMiddle - { - get - { - return Resources.Load("Boxophobic - CategoryMiddle") as Texture2D; - } - } - - public static Texture2D CategoryImageEnd - { - get - { - return Resources.Load("Boxophobic - CategoryEnd") as Texture2D; - } - } - - public static Texture2D IconEdit - { - get - { - return Resources.Load("Boxophobic - IconEdit") as Texture2D; - } - } - - public static Texture2D IconHelp - { - get - { - return Resources.Load("Boxophobic - IconHelp") as Texture2D; - } - } - - public static Color ColorDarkGray - { - get - { - return new Color(0.27f, 0.27f, 0.27f); - } - } - - public static Color ColorLightGray - { - get - { - return new Color(0.83f, 0.83f, 0.83f); - } - } - - public static GUIStyle TitleStyle - { - get - { - GUIStyle guiStyle = new GUIStyle - { - richText = true, - alignment = TextAnchor.MiddleCenter - }; - - return guiStyle; - } - } - - public static GUIStyle BoldTextStyle - { - get - { - GUIStyle guiStyle = new GUIStyle(); - - Color color; - - if (EditorGUIUtility.isProSkin) - { - color = new Color(0.87f, 0.87f, 0.87f); - } - else - { - color = new Color(0.27f, 0.27f, 0.27f); - } - - guiStyle.normal.textColor = color; - guiStyle.alignment = TextAnchor.MiddleCenter; - guiStyle.fontStyle = FontStyle.Bold; - - return guiStyle; - } - } - } -} - -- cgit v1.1-26-g67d0