/// <summary> /// If the tagInFocus is not null and has a textMeshProManager, clears the tagInFocus' text. /// </summary> public void FocusedTagClear() { if (tagInFocus != null) { TextMeshProManager textMeshProManager = tagInFocus.GetComponentInChildren <TextMeshProManager>(); if (textMeshProManager != null) { textMeshProManager.clearTag(); } } }
/// <summary> /// If the tagInFocus is not null and has a textMeshProManager, turns the tagInFocus's page forwards. /// </summary> public void FocusedTagNextPage() { if (tagInFocus != null) { TextMeshProManager textMeshProManager = tagInFocus.GetComponentInChildren <TextMeshProManager>(); if (textMeshProManager != null) { textMeshProManager.turnPageForward(); } } }