void Update()
{
var moveVector = GetInput();
int horizontal = Mathf.RoundToInt(moveVector.x);
int vertical = Mathf.RoundToInt(moveVector.y);
if (horizontal != 0 || vertical != 0)
{
var movement = ToMovement(horizontal, vertical);
Pools.pool.ReplaceMoveInput(movement).IsDeleteOnExit(true);
}
}