1
This commit is contained in:
@@ -167,7 +167,13 @@ namespace BITFALL.Guns.States
|
||||
root.animator.CrossFade(BITConstant.Player.Aim, 0.16f);
|
||||
break;
|
||||
}
|
||||
_entityMovement.ExecuteCommand<PlayerCancelRunCommand>();
|
||||
_entityMovement.ExecuteCommand<PlayerDisableRunCommand>(new(this));
|
||||
}
|
||||
|
||||
public override void OnStateExit(IState old, IState newState)
|
||||
{
|
||||
base.OnStateExit(old, newState);
|
||||
_entityMovement.ExecuteCommand<PlayerEnableRunCommand>(new(this));
|
||||
}
|
||||
|
||||
public override void OnStateUpdate(float deltaTime)
|
||||
|
Reference in New Issue
Block a user