Description
The Sitting
property of the CitizenAnimationHelper
class specifies the style in which the citizen character is sitting. This property allows you to define how the character should appear when in a sitting position, providing a more realistic and varied animation experience.
Usage
To use the Sitting
property, you need to have an instance of the CitizenAnimationHelper
class. You can then set the Sitting
property to one of the predefined sitting styles available in the SittingStyle
enumeration. This will adjust the animation of the citizen character to reflect the chosen sitting style.
Example
// Example of setting the Sitting property
// Assume 'animationHelper' is an instance of CitizenAnimationHelper
animationHelper.Sitting = CitizenAnimationHelper.SittingStyle.CrossLegged;