예제 #1
0
 public void StartReboot()
 {
     SoundManager.instance.StopAmbients();
     canvasManager.instance.ActivateCanvas(canvasManager.instance.bootCanvas);
     GlitchManager.instance.GlitchScreenOnCommand(5f, 2f);
     SoundManager.instance.warningSound.Play();
     t.textToDisplay = "";
     text.text       = "";
     buttonText.gameObject.GetComponent <Text> ().text = "";
     buttonText.shouldStopRolling = true;
     buttonText.StopCoroutine(buttonText.RollText());
     button.SetActive(true);
     buttonText.del           = 0.04f;
     buttonText.textToDisplay = ": : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :N: : : :X:T";
     buttonText.Start();
     SoundManager.instance.workSound.Play();
 }
예제 #2
0
 public void ClearBootText()
 {
     //t.shouldStopRolling = true;
     //buttonText.shouldStopRolling = true;
     t.StopCoroutine(t.RollText());
     buttonText.StopCoroutine(buttonText.RollText());
     t.gameObject.GetComponent <Text> ().text          = "";
     buttonText.gameObject.GetComponent <Text> ().text = "";
     t.textToDisplay          = "";
     buttonText.textToDisplay = "";
 }