AnimatorControllerPlayable.CrossFadeInFixedTime(int,float,int,float,float)

Cambiar al Manual

Parámetros

stateNameThe name of the state.
stateHashNameThe hash name of the state.
fixedTransitionDurationThe duration of the transition (in seconds).
layerThe layer where the crossfade occurs.
fixedTimeOffsetThe time of the state (in seconds).
normalizedTransitionTimeThe time of the transition (normalized).

Descripción

Creates a crossfade from the current state to any other state using times in seconds.

When you specify a state name, or the string used to generate a hash, it should include the name of the parent layer. For example, if you have a Run state in the Base Layer, the name is Base Layer.Run.

See Also: AnimatorControllerPlayable.CrossFade for normalized times.