Class TMPWriter.Delays
- Namespace
- TMPEffects.Components
- Assembly
- TMPEffects.dll
Stores the various delays along with their TMPWriter.DelayType of a TMPWriter.
[Serializable]
public class TMPWriter.Delays
- Inheritance
-
TMPWriter.Delays
- Inherited Members
Fields
delay
The delay after showing a character.
[Tooltip("The delay between new characters shown by the writer, i.e. the inverse of the speed of the writer.")]
public float delay
Field Value
linebreakDelay
The delay after "showing" a linebreak character.
[Tooltip("The delay after linebreaks, either as percentage of the general delay or in seconds")]
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.
[Tooltip("The delay after punctuation characters, either as percentage of the general delay or in seconds")]
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.
[Tooltip("The delay after already visible characters, either as percentage of the general delay or in seconds")]
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.
[Tooltip("The delay after whitespace characters, either as percentage of the general delay or in seconds")]
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)