Table of Contents

Class TMPAnimatorUpdater

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

float

MaxUpdatesPerSecond

The update limit per second.

public uint MaxUpdatesPerSecond { get; }

Property Value

uint

Methods

SetAdditionalTimeScaling(float)

Set the scalar to the deltaTime.

public void SetAdditionalTimeScaling(float timeScaling)

Parameters

timeScaling float

SetMaxUpdatesPerSecond(uint)

Set the update limit per second.

public void SetMaxUpdatesPerSecond(uint maxUpdatesPerSecond)

Parameters

maxUpdatesPerSecond uint