Description
The UseAnimatorControls
property of the PlayerController
class determines whether the player controller should utilize animator controls for character animations. When set to true
, the player controller will use the animator to manage animations, allowing for more complex and dynamic character movements.
Usage
To enable animator controls for a player character, set the UseAnimatorControls
property to true
. This is particularly useful when you want to leverage animation blending and other advanced animation features provided by the animator.
Example
// Example of enabling animator controls for a player controller
PlayerController playerController = new PlayerController();
playerController.UseAnimatorControls = true;