Fixed Movement Controller not updating the new movement with the old information
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user