VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.UEditor.UI.AVR_FA_GlyphHelper_Editor.OnInspectorGUI ( )
inline

Definition at line 130 of file AVR_FA_GlyphHelper_Editor.cs.

131  {
132  using (new EditorGUILayout.HorizontalScope())
133  {
134  if (!show_glyphs && GUILayout.Button("Show Glyphs", GUILayout.Height(60)))
135  {
136  show_glyphs = true;
137  }
138 
139  if (show_glyphs && GUILayout.Button("Hide Glyphs", GUILayout.Height(60)))
140  {
141  show_glyphs = false;
142  }
143 
144  if (GUILayout.Button("Remove Helper", GUILayout.Height(60), GUILayout.Width(120)))
145  {
146  DestroyImmediate(target);
147  }
148  }
149 
150  EditorGUILayout.Space();
151 
152  if (show_glyphs)
153  {
154  EditorGUILayout.Space();
155 
156  using (new EditorGUILayout.HorizontalScope())
157  {
158  if (GUILayout.Button("Solid Glyphs", GUILayout.Height(30))) ShowType = FA_type.SOLID;
159  if (GUILayout.Button("Regular Glyphs", GUILayout.Height(30))) ShowType = FA_type.REGULAR;
160  if (GUILayout.Button("Brand Glyphs", GUILayout.Height(30))) ShowType = FA_type.BRAND;
161  }
162 
163  switch(ShowType) {
164  case FA_type.SOLID:
165  {
166  EditorGUILayout.Space();
168  EditorGUILayout.Space();
170  break;
171  }
172  case FA_type.REGULAR:
173  {
174  EditorGUILayout.Space();
176  EditorGUILayout.Space();
178  break;
179  }
180  case FA_type.BRAND:
181  {
182  EditorGUILayout.Space();
184  EditorGUILayout.Space();
186  break;
187  }
188  }
189  }
190  }
void Glyphs(List< int > unicodes, Font DisplayFont, Font UseFont)