Api > Animator > InterruptMatchTarget()
Animator.InterruptMatchTarget(boolean completeMatch)⚓︎
Interrupts the automatic target matching.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
completeMatch | boolean | CompleteMatch will make the gameobject match the target completely at the next frame. |
Usage⚓︎
---@type Animator
local animator;
---@type boolean
local completeMatch;
animator.InterruptMatchTarget(completeMatch)