private void Update()
 {
     if (typedText.typing)
     {
         typedText.Loop();
         text.text = typedText.text;
     }
 }
 protected override void Update()
 {
     base.Update();
     if (textTyper.typing)
     {
         textTyper.Loop();
         if ((Main.Instance.gameState.hasMadeAChoice || Application.isEditor) && Input.GetMouseButtonDown(0))
         {
             textTyper.ShowInstantly();
         }
     }
 }
Пример #3
0
 private void Update()
 {
     typedText.Loop();
     text.text = typedText.text;
 }