Skip to content

Animator State Facade

Mikhail Albershtein edited this page Apr 4, 2020 · 2 revisions

Purpose

It's a mono-behaviour script that works closely with an animator for functionality beyond the animator parameters.

  • finishTimeForCombo - ends the combo gap. Don't forget to create a trigger in the animation
  • OnAnimatorMove - passing the delta position to the movement which uses IRootMotion. If your movement uses RootMotion, check this method.

Animator state facade

Requirements:

  • Be on the same game object with an animator