Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

Animator.InterruptMatchTarget

Switch to Manual
public void InterruptMatchTarget(bool completeMatch = true);
public void InterruptMatchTarget(bool completeMatch = true);

Parameters

Description

Interrupts the automatic target matching.

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