Class PunchDialogueView
Inheritance
PunchDialogueView
Assembly: .dll
Syntax
public class PunchDialogueView : DialogueViewBase
Fields
|
Edit this page
View Source
OnPunchEffectUpdated
Declaration
public UnityEvent OnPunchEffectUpdated
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
GetWordDelay()
Declaration
public float GetWordDelay()
Returns
|
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 word-by-word punch effect.
Declaration
public override void SetView(Line line)
Parameters
| Type |
Name |
Description |
| Line |
line |
|
Overrides
|
Edit this page
View Source
SetWordDelay(float)
Declaration
public void SetWordDelay(float delay)
Parameters
| Type |
Name |
Description |
| float |
delay |
|
|
Edit this page
View Source
SkipViewEffect()
Skips whatever display effect the dialogue view is playing.
Declaration
public override void SkipViewEffect()
Overrides