private void ShowPopOver() { KeyboardPopOver popOverInstance = _thisPage.GetPageWithComponent(KeyboardPopOver); popOverInstance.CurrentText = FilterText; _thisPage.ShowPopOver(KeyboardPopOver); StartCoroutine(PopOverCoroutine(popOverInstance)); }
private IEnumerator PopOverCoroutine(KeyboardPopOver popOverInstance) { while (popOverInstance.gameObject.activeInHierarchy) { if (FilterText != popOverInstance.CurrentText) { FilterText = popOverInstance.CurrentText; } yield return(null); } }