Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animator.InterruptMatchTarget

Switch to Manual
InterruptMatchTarget(completeMatch: bool = true): void;
void InterruptMatchTarget(bool completeMatch = true);
def InterruptMatchTarget(completeMatch as bool = true) as void

Description

Interrupts the automatic target matching.

CompleteMatch will make the gameobject match the target completely at the next frame.