// Start is called before the first frame update void Start() { self = gameObject; defaulttextboxstring = TextboxUtils.getTextBoxText(self); TextboxUtils.updateTextBox(self, ""); eventTime = Time.deltaTime + delaytime; }
public void slowtypetexteffect() { string curstringtextbox = TextboxUtils.getTextBoxText(self); if (curstringtextbox.Length < defaulttextboxstring.Length) { curstringtextbox = curstringtextbox + defaulttextboxstring[curchar]; curchar = curchar + 1; TextboxUtils.updateTextBox(self, curstringtextbox); } }
public bool Getcomplete() { string curstringtextbox = TextboxUtils.getTextBoxText(self); if (curstringtextbox.Length < defaulttextboxstring.Length) { return(true); } else { return(false); } }