playMaker

Author Topic: Auto-Type Effect (type-on text)  (Read 2847 times)

brendang

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • Out to Play Interactive
Auto-Type Effect (type-on text)
« on: August 23, 2012, 09:51:31 PM »
So I found this cool little script on the Unity wiki for Auto typing.  Basically it allows you to type on your GUI Text over time.  http://wiki.unity3d.com/index.php?title=AutoType

I set a Playmaker state to wait for an OnTrigger event that would send an event to a second state which activates the GUIText object. Unfortunately it flashes the full text first, then it types it on.

My next thought, was to add a 'set GUIText' in the second state after activating the GUIText object.  It still flashes the text first, then types it on.   

I'd appreciate some thoughts on how I might avoid the flash of the text before it types on.

thanks,
Brendan G.
« Last Edit: August 23, 2012, 10:11:54 PM by brendang »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15494
  • Official Playmaker Support
    • View Profile
Re: Auto-Type Effect (type-on text)
« Reply #1 on: August 29, 2012, 02:56:00 AM »
Hi,

 set your text to an empty string first, then apply your technic, or only show your text after.

could you share a package with this? and I'll have a look.

bye,

 Jean