void UpdateFighterAction() { ActionHandler actionHandler = fighterObject.GetComponent <ActionHandler>(); actionHandler.DoAction(editor.currentAction); while (actionHandler.CurrentAction.current_frame < editor.currentFrame) { actionHandler.ManualUpdate(); } }