MobAnimator
Class in SurvivEngine.Entities.Mobs namespace
Inherits from SurvivEngine.Entities.EntityAnimator
Implements SurvivEngine.Events.IEventListener<MobDoHitEvent> and SurvivEngine.Events.IEventListener<MobMovementStateChangeEvent>
Class in SurvivEngine.Entities.Mobs namespace
Inherits from SurvivEngine.Entities.EntityAnimator
Implements SurvivEngine.Events.IEventListener<MobDoHitEvent> and SurvivEngine.Events.IEventListener<MobMovementStateChangeEvent>
An entity animator that responds to mob behaviour.
Read-Only
Animator parameter ID for the hit trigger.
Read-Only
Animator parameter ID for the is grounded bool.
Read-Only
Animator parameter ID for the is moving bool.
Read-Only
Animator parameter ID for the move multiplier float.
Called via animation event. Performs a hit raycast during hit animation.
Called via animation event. Resets parameters to allow hitting again.