float VoiceLevel { get; set; }

robot_2Generated
code_blocksInput

Description

The VoiceLevel property of the CitizenAnimationHelper class represents the loudness of the character's voice. This property is a float value that can be used to control or query how loud the character is speaking or shouting in the game environment.

Usage

To use the VoiceLevel property, you can get or set its value to adjust the loudness of the character's voice. This can be useful in scenarios where you want to simulate different speaking volumes, such as whispering, normal talking, or shouting.

Example usage:

var animationHelper = new CitizenAnimationHelper();

// Set the voice level to a moderate volume
animationHelper.VoiceLevel = 0.5f;

// Check the current voice level
float currentVoiceLevel = animationHelper.VoiceLevel;

Example

var animationHelper = new CitizenAnimationHelper();

// Set the voice level to a moderate volume
animationHelper.VoiceLevel = 0.5f;

// Check the current voice level
float currentVoiceLevel = animationHelper.VoiceLevel;