diff options
author | chai <chaifix@163.com> | 2021-09-08 10:52:35 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-08 10:52:35 +0800 |
commit | 21e186f75b504d832d9c7bef0456edd7d5d3155e (patch) | |
tree | e73c43fc78d0326f32da5fadfda57fa8e23c1d90 /Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs | |
parent | 7bd7b4c6c3be6840cab06aa4d8a38619bce44705 (diff) |
+behavior design
Diffstat (limited to 'Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs')
-rw-r--r-- | Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs b/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs deleted file mode 100644 index 568b1d85..00000000 --- a/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledBanner.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine;
-
-namespace Boxophobic.StyledGUI
-{
- public class StyledBanner : PropertyAttribute
- {
- public float colorR;
- public float colorG;
- public float colorB;
- public string title;
- public string subtitle;
- public int spaceTop;
- public int spaceBottom;
- public string helpURL;
-
- public StyledBanner(string title, string subtitle, string helpURL)
- {
- this.spaceTop = 10;
- this.spaceBottom = 10;
- this.colorR = -1;
- this.title = title;
- this.subtitle = subtitle;
- this.helpURL = helpURL;
- }
-
- public StyledBanner(float colorR, float colorG, float colorB, string title, string subtitle, string helpURL)
- {
- this.spaceTop = 10;
- this.spaceBottom = 10;
- this.colorR = colorR;
- this.colorG = colorG;
- this.colorB = colorB;
- this.title = title;
- this.subtitle = subtitle;
- this.helpURL = helpURL;
- }
-
- public StyledBanner(float colorR, float colorG, float colorB, string title, string subtitle, int spaceTop, int spaceBottom, string helpURL)
- {
- this.colorR = colorR;
- this.colorG = colorG;
- this.colorB = colorB;
- this.title = title;
- this.subtitle = subtitle;
- this.spaceTop = spaceTop;
- this.spaceBottom = spaceBottom;
- this.helpURL = helpURL;
- }
- }
-}
-
|