Interface ICharacterTimingsProvider
- Namespace
- TMPEffects.Components.Animator
Provides visibility timings of CharData.
public interface ICharacterTimingsProvider
Methods
StateTime(int)
Check how long the CharData at the given index has been in its current VisibilityState.
Generally, to be used with show and hide animations.
float StateTime(int index)
Parameters
index
intThe index of the character to check.
Returns
- float
How long the CharData at the given index has been in its current VisibilityState.
StateTime(CharData)
Check how long the passed CharData has been in its current VisibilityState.
Generally, to be used with show and hide animations.
float StateTime(CharData cData)
Parameters
cData
CharDataThe character to check.
Returns
- float
How long the passed CharData has been in its current VisibilityState.
VisibleTime(int)
Check how long the CharData at the given index has been visible.
float VisibleTime(int index)
Parameters
index
int
Returns
VisibleTime(CharData)
Check how long the passed CharData has been visible.
float VisibleTime(CharData cData)
Parameters
cData
CharDataThe character to check.