Class TypewriterDialogueView
Inheritance
TypewriterDialogueView
Assembly: .dll
Syntax
public class TypewriterDialogueView : DialogueViewBase
Fields
|
Edit this page
View Source
OnTypewriterEffectUpdated
Declaration
public UnityEvent OnTypewriterEffectUpdated
Field Value
| Type |
Description |
| UnityEvent |
|
Properties
|
Edit this page
View Source
VisibleCharacterCount
Returns the number of characters currently visible in the dialogue text.
Used by the engine to fire inline function invocations at the correct
character position during animated display.
Declaration
public override int VisibleCharacterCount { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
ClearView()
Clears all elements in the view.
Declaration
public override void ClearView()
Overrides
|
Edit this page
View Source
GetCharacterDelay()
Declaration
public float GetCharacterDelay()
Returns
|
Edit this page
View Source
SetCharacterDelay(float)
Declaration
public void SetCharacterDelay(float delay)
Parameters
| Type |
Name |
Description |
| float |
delay |
|
|
Edit this page
View Source
SetSpeed(float)
Applies a speed multiplier to the current display effect.
2 = twice as fast, 0.5 = half speed. The multiplier is relative to
the view's configured default and resets automatically on the next line.
Declaration
public override void SetSpeed(float multiplier)
Parameters
| Type |
Name |
Description |
| float |
multiplier |
|
Overrides
|
Edit this page
View Source
SetView(Line)
Displays a dialogue line with a character-by-character typewriter effect.
Declaration
public override void SetView(Line line)
Parameters
| Type |
Name |
Description |
| Line |
line |
|
Overrides
|
Edit this page
View Source
SkipViewEffect()
Skips whatever display effect the dialogue view is playing.
Declaration
public override void SkipViewEffect()
Overrides