示例#1
0
    IEnumerator waitForSomeTimeAndDisappearTipsText()
    {
        yield return(new WaitForSeconds(TIPS_TEXT_SHOW_TIME));

        TipsText.SetActive(false);
    }
示例#2
0
 private void showTipsText()
 {
     TipsText.GetComponent <Text>().text = "Round " + roundNum + ": Trial " + trialNum + "!";
     TipsText.SetActive(true);
     StartCoroutine(waitForSomeTimeAndDisappearTipsText());
 }
示例#3
0
 internal void showSwitchText()
 {
     TipsText.GetComponent <Text>().text = "UFO's Action will Change in Next Trail!";
     TipsText.SetActive(true);
     StartCoroutine(waitForSomeTimeAndDisappearTipsText());
 }