Ejemplo n.º 1
0
    IEnumerator waitForSomeTimeAndDisappearTipsText()
    {
        yield return(new WaitForSeconds(TIPS_TEXT_SHOW_TIME));

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