Fixed Movement Controller not updating the new movement with the old information
This commit is contained in:
parent
57790c4598
commit
d11aab596d
|
@ -49,6 +49,7 @@ namespace Syntriax.Modules.Movement
|
||||||
|
|
||||||
toggleStateOnGameObject.OnToggleStateChanged += (_) => InvokeOnMoveAction();
|
toggleStateOnGameObject.OnToggleStateChanged += (_) => InvokeOnMoveAction();
|
||||||
ToggleStateMember.OnToggleStateChanged += (_) => InvokeOnMoveAction();
|
ToggleStateMember.OnToggleStateChanged += (_) => InvokeOnMoveAction();
|
||||||
|
OnMovementActivated += (newMovement) => newMovement.Move(lastMove);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void FixedUpdate()
|
protected virtual void FixedUpdate()
|
||||||
|
|
Loading…
Reference in New Issue