Applies a typewriter effect to the text of a GUI control. More...
Public Member Functions | |
override IEnumerator | Play () |
Plays the typewriter effect. | |
override void | Stop () |
Stops the effect. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
IEnumerator | Play () |
Plays the effect. | |
void | OnEnable () |
void | OnDisable () |
Public Attributes | |
float | charactersPerSecond = 50 |
How fast to "type.". | |
AudioClip | audioClip = null |
The audio clip to play with each character. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
GUIEffectTrigger | trigger = GUIEffectTrigger.OnEnable |
The trigger that makes the effect play. | |
Properties | |
bool | IsPlaying [get] |
Indicates whether the effect is playing. | |
Applies a typewriter effect to the text of a GUI control.
Characters are displayed one at a time at a rate of charactersPerSecond.
|
inline |
Plays the typewriter effect.
|
inlinevirtual |
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
.