Class TMPAnimatorUpdater
- Namespace
- TMPEffects.Components.Animator
Simple component that lets you manually update a TMPAnimator.
public class TMPAnimatorUpdater : MonoBehaviour
- Inheritance
-
TMPAnimatorUpdater
Properties
AdditionalTimeScaling
The time scaling to use.
Used as scalar to the delta time.
Naming chosen so as not to be confused with IAnimatorContext.UseScaledTime.
public float AdditionalTimeScaling { get; }
Property Value
MaxUpdatesPerSecond
The update limit per second.
public uint MaxUpdatesPerSecond { get; }
Property Value
Methods
SetAdditionalTimeScaling(float)
Set the scalar to the deltaTime.
public void SetAdditionalTimeScaling(float timeScaling)
Parameters
timeScalingfloat
SetMaxUpdatesPerSecond(uint)
Set the update limit per second.
public void SetMaxUpdatesPerSecond(uint maxUpdatesPerSecond)
Parameters
maxUpdatesPerSeconduint