public static void Initialise() { for (int i = 0; i < (int)DebugTextConstants.kMaxPerFrame; i++) { texts[i] = new TextMeshWrapper("debugText" + i.ToString()); } }
protected void SetLayoutText(TextMeshWrapper textMesh, string message) { if (textMesh == null) { return; } textMesh.text = message; }
public void addText(string s) { TextMeshWrapper wrapper = GetComponent <TextMeshWrapper>(); if (wrapper != null) { allText = GetComponent <TextMeshWrapper>().getWrappedString(allText + s); } else { allText = allText + s; } }
public void setText(string s) { charTimer = 0; charIndex = 0; TextMeshWrapper wrapper = GetComponent <TextMeshWrapper>(); if (wrapper != null) { allText = GetComponent <TextMeshWrapper>().getWrappedString(s); } else { allText = s; } }
public SetText(TextMeshWrapper self) { this.self = self; }