Version: 2022.3
LanguageEnglish
  • C#

AnimatorState.mirror

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool mirror;

Description

Whether the animation state is mirrored.

When true, the animation for the left side of the humanoid animation is applied to the right side and animation for the right side is applied to the left side. For example, if the animation is of a humanoid waving its left arm, when mirror is true, the humanoid waves its right arm.