Author Topic: Waiting for the typewriter to finish  (Read 2964 times)

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Waiting for the typewriter to finish
« on: June 13, 2013, 04:55:19 PM »
What's the best way to wait for typewriter to finish typing?
I tried yield return GetComponent<TypewriterEffect>() but it doesn't wait for it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Waiting for the typewriter to finish
« Reply #1 on: June 13, 2013, 05:23:03 PM »
Typewriter is an example script. It's meant to serve as such -- as a starting point for your own scripts. I advise adding the code you need to it.