//Example of a custom IEnumerator for kicking off common animations you might not want //to wait for during SceneBlock IEnumerators IEnumerator ChangeText(PrimerText t, string newString) { t.ScaleDownToZero(); yield return(new WaitForSeconds(0.5f)); t.tmpro.text = newString; t.ScaleUpFromZero(); }
IEnumerator Disappear() { graph.ScaleDownToZero(); text1.ScaleDownToZero(); yield return(null); }