LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Animator.InterruptMatchTarget

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

Description

Interrupts the automatic target matching.

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