Пример #1
0
    void UpdateFighterAction()
    {
        ActionHandler actionHandler = fighterObject.GetComponent <ActionHandler>();

        actionHandler.DoAction(editor.currentAction);
        while (actionHandler.CurrentAction.current_frame < editor.currentFrame)
        {
            actionHandler.ManualUpdate();
        }
    }