Applies a typewriter effect to the text of a GUI control. More...
Public Member Functions | |
override IEnumerator | Play () |
Plays the typewriter effect. More... | |
override void | Stop () |
Stops the effect. More... | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
void | OnEnable () |
void | OnDisable () |
Public Attributes | |
float | charactersPerSecond = 50 |
How fast to "type." More... | |
AudioClip | audioClip = null |
The audio clip to play with each character. More... | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
GUIEffectTrigger | trigger = GUIEffectTrigger.OnEnable |
The trigger that makes the effect play. More... | |
Properties | |
bool | IsPlaying [get] |
Indicates whether the effect is playing. More... | |
Applies a typewriter effect to the text of a GUI control.
Characters are displayed one at a time at a rate of charactersPerSecond.
|
virtual |
Plays the typewriter effect.
Implements PixelCrushers.DialogueSystem.UnityGUI.GUIEffect.
|
virtual |
Stops the effect.
Reimplemented from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect.
AudioClip PixelCrushers.DialogueSystem.UnityGUI.TypewriterEffect.audioClip = null |
The audio clip to play with each character.
float PixelCrushers.DialogueSystem.UnityGUI.TypewriterEffect.charactersPerSecond = 50 |
How fast to "type."
|
get |
Indicates whether the effect is playing.
true
if this instance is playing; otherwise, false
.