#INFORMATION: RICHTEXT
5 messages · Page 1 of 1 (latest)
UNITY: base richtext implementations that work for the mod panel:
i : italics
b : bold
size : fontsizes (the text containers are clipped so anything larger than 20 may not be seen fully)
color : accepts any hex color constructor (12bit/24bit)
-# e.g. #000-#fff , #000000 - #ffffff
-# also uses predefined color tables you can choose from
-# see: https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/StyledText.html#supported-colors
do note that i have not tried material or quad as these most likely are unused in the current implementation of the unity panel.
TM: glyphs that are implemented (for subtle messages)
Keyboard glyphs:
32 = ALL ARROW KEYS
98 = UP ARROW (small)
99 = DOWN ARROW (small)
112 = LEFT ARROW (small)
119 = CTRL (small)
120 = B (small)
122 = RIGHT ARROW (small)
127 = ALL ARROW KEYS (small)
128 = TAB (small)
142 = F
143 = 1
144 = 2
145 = ALT
146 = Y
147 = Z
148 = I
149 = R
150 = E
151 = CTRL
152 = W
153 = A
154 = S
155 = D
156 = SPACE
157 = B
158 = DEL
173 = TAB
175 = BACKSPACE
176 = F5
177 = INSERT
178 = F6
179 = F8
180 = C
Extraordinary glyphs:
13 = Hamburger menu (controller)
15 = Xbox logo
49 = Long empty key
50 = No access
51 = Caution
52 = Alert
53 = XP
54 = Gold
86 = No access (small)
87 = Caution (small)
109 = Square empty key (small)
110 = Rectangle empty key (small)
111 = Rectangle empty key (small)
121 = No access (small)
181 = Empty
Mouse glyphs:
28 = Mouse
29 = Left Button
30 = Middle Mouse Button
31 = Right Button
106 = Left Button (small)
107 = Middle Mouse Button (small)
108 = Right Button (small)
subtle message exclusive richtext:
<rotate> - rotate individual characters
<sprite index> - glyphs like controller inputs