summaryrefslogtreecommitdiff
path: root/Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-08 10:54:48 +0800
committerchai <chaifix@163.com>2021-09-08 10:54:48 +0800
commit55d289f8eff1af2d2a2ff02c878faa354dcf6c91 (patch)
treec418766269107da419d99e52489da652f9233252 /Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs
parent21e186f75b504d832d9c7bef0456edd7d5d3155e (diff)
*move directory
Diffstat (limited to 'Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs')
-rw-r--r--Assets/Art/BOXOPHOBIC/Utils/Editor/Constants/Constants.cs138
1 files changed, 0 insertions, 138 deletions
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;
- }
- }
- }
-}
-