- If you are using a Native Animator Controller you can control its overall speed by setting the
Animator.speed(usually accessed via the
- But if you are using a
ControllerStateit's not possible to directly set the speed.
There is only one known workaround:
- Create a
- Select all of the states in the Animator Controller.
- Enable their
Speed Multiplierand set it to use the parameter you just created.
- Repeat steps 2 and 3 for each layer and sub-state machine.
- Now you can use
ControllerState.SetFloat("Parameter Name", speed);to control the speed of all states.
Unfortunately, that only affects the states themselves, not the transitions between them.