Class TMPWriter.Delays
- Namespace
- TMPEffects.Components
Stores the various delays of a TMPWriter along with their TMPWriter.DelayType.
[Serializable]
public class TMPWriter.Delays
- Inheritance
-
TMPWriter.Delays
- Inherited Members
Fields
delay
The delay after showing a character.
public float delay
Field Value
linebreakDelay
The delay after "showing" a linebreak character.
public float linebreakDelay
Field Value
linebreakDelayType
The TMPWriter.DelayType of linebreakDelay.
public TMPWriter.DelayType linebreakDelayType
Field Value
punctuationDelay
The delay after showing a punctuation character.
public float punctuationDelay
Field Value
punctuationDelayType
The TMPWriter.DelayType of punctuationDelay.
public TMPWriter.DelayType punctuationDelayType
Field Value
visibleDelay
The delay after "showing" an already visible character.
public float visibleDelay
Field Value
visibleDelayType
The TMPWriter.DelayType of visibleDelay.
public TMPWriter.DelayType visibleDelayType
Field Value
whitespaceDelay
The delay after "showing" a whitespace character.
public float whitespaceDelay
Field Value
whitespaceDelayType
The TMPWriter.DelayType of whitespaceDelay.
public TMPWriter.DelayType whitespaceDelayType
Field Value
Properties
CalculatedLinebreakDelay
The calculated delay after "showing" a linebreak character, using linebreakDelay and linebreakDelayType.
public float CalculatedLinebreakDelay { get; }
Property Value
CalculatedPunctuationDelay
The calculated delay after showing a punctuation character, using punctuationDelay and punctuationDelayType.
public float CalculatedPunctuationDelay { get; }
Property Value
CalculatedVisibleDelay
The calculated delay after "showing" an already visible character, using visibleDelay and visibleDelayType.
public float CalculatedVisibleDelay { get; }
Property Value
CalculatedWhiteSpaceDelay
The calculated delay after "showing" a whitespace character, using whitespaceDelay and whitespaceDelayType.
public float CalculatedWhiteSpaceDelay { get; }
Property Value
Methods
SetDelay(float)
Set the delay of the writer.
public void SetDelay(float delay)
Parameters
delay
floatThe delay after showing a character.
SetLinebreakDelay(float, DelayType?)
Set the linebreak delay of the writer.
public void SetLinebreakDelay(float delay, TMPWriter.DelayType? type = null)
Parameters
SetPunctuationDelay(float, DelayType?)
Set the punctuation delay of the writer.
public void SetPunctuationDelay(float delay, TMPWriter.DelayType? type = null)
Parameters
SetVisibleDelay(float, DelayType?)
Set the visible delay of the writer.
public void SetVisibleDelay(float delay, TMPWriter.DelayType? type = null)
Parameters
SetWhitespaceDelay(float, DelayType?)
Set the whitespace delay of the writer.
public void SetWhitespaceDelay(float delay, TMPWriter.DelayType? type = null)