void CompleteAction() { currentAction.isActionRunning = false; currentAction.PostPerform(); invoked = false; }