1 using System.Collections;
2 using System.Collections.Generic;
10 namespace AVR.UI.Utils {
12 [RequireComponent(typeof(Text))]
16 if(!Application.isEditor) {
17 AVR.Core.AVR_DevConsole.cwarn(
"There is a redundant GlyphHelper object at: "+AVR.Core.Utils.Misc.GetHierarchyPath(transform)+
". Consider removing it.",
this);
18 GameObject.Destroy(
this);
22 public void setup(Font font,
int unicode) {
23 Text t = GetComponent<Text>();
25 t.text = ((char)unicode).ToString();
28 EditorUtility.SetDirty(gameObject);
void setup(Font font, int unicode)