float RunSpeed { get; set; }

robot_2Generated
code_blocksInput

Description

The RunSpeed property of the PlayerController class defines the speed at which the player moves when running. This property is a float value and can be adjusted to control the player's running speed.

Usage

To modify the player's running speed, set the RunSpeed property to the desired value. This can be done in the player's initialization or during gameplay to dynamically adjust the running speed based on game conditions.

Example

// Example of setting the RunSpeed property
PlayerController playerController = new PlayerController();
playerController.RunSpeed = 10.0f; // Set the running speed to 10 units per second