Skip to content

Commit 65bd94f

Browse files
authored
Add files via upload
1 parent 5e9af67 commit 65bd94f

File tree

3 files changed

+592
-0
lines changed

3 files changed

+592
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
using UnityEngine;
2+
3+
namespace FACS01.Utilities
4+
{
5+
public class FACSGUIStyles
6+
{
7+
public GUIStyle helpbox;
8+
public GUIStyle dropdownbutton;
9+
public GUIStyle button;
10+
public GUIStyle helpboxSmall;
11+
public GUIStyle buttonSmall;
12+
13+
public FACSGUIStyles()
14+
{
15+
helpbox = new GUIStyle("HelpBox")
16+
{
17+
richText = true,
18+
alignment = TextAnchor.MiddleCenter,
19+
fontSize = 13,
20+
wordWrap = true
21+
};
22+
23+
dropdownbutton = new GUIStyle("dropdownbutton")
24+
{
25+
richText = true,
26+
alignment = TextAnchor.MiddleLeft
27+
};
28+
29+
button = new GUIStyle("button")
30+
{
31+
richText = true,
32+
alignment = TextAnchor.MiddleCenter,
33+
fontSize = 13
34+
};
35+
36+
helpboxSmall = new GUIStyle("HelpBox")
37+
{
38+
richText = true,
39+
alignment = TextAnchor.MiddleCenter,
40+
fontSize = 12,
41+
wordWrap = true,
42+
padding = new RectOffset(4, 4, 1, 2)
43+
};
44+
45+
buttonSmall = new GUIStyle("button")
46+
{
47+
richText = true,
48+
alignment = TextAnchor.MiddleCenter,
49+
fontSize = 12,
50+
padding = new RectOffset(4, 4, 1, 2)
51+
};
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)