An interface that let the Melee Combat System communicate with the movement controller of the attacker.
Use this interface to implement things like move the attacker during an attack and allowing or stopping the attacker’s movement during attacks.
Note - there must be a script with this interface in the attacker GameObject to avoid errors.
bool AllowControl{get;set;}
This bool is used to block player input during attack.
bool AllowMovement{get;set;}
This bool is used to stop player from moving during attacks.
GameObject GetObject{get;}
void Move(Vector3 direction,float duration=0);
This method is used for the moving the character, whether during attack for a lunge or while taking a hit for knockback.