IEnumerator waitForSomeTimeAndDisappearTipsText() { yield return(new WaitForSeconds(TIPS_TEXT_SHOW_TIME)); TipsText.SetActive(false); }
private void showTipsText() { TipsText.GetComponent <Text>().text = "Round " + roundNum + ": Trial " + trialNum + "!"; TipsText.SetActive(true); StartCoroutine(waitForSomeTimeAndDisappearTipsText()); }
internal void showSwitchText() { TipsText.GetComponent <Text>().text = "UFO's Action will Change in Next Trail!"; TipsText.SetActive(true); StartCoroutine(waitForSomeTimeAndDisappearTipsText()); }