Пример #1
0
    private void ExecuteMove(Move move)
    {
        EndLagTimeLeft = move.EndLag;
        if (DebugLog)
        {
            Debug.Log(move.name);
        }

        // Do the move stuff!
        move.ActivateHitbox(gameObject.tag, Mech.GetWeaponInHand(activeHand), move.HitBoxPosition);
        UpdateStance(move.EndStance);

        //Block weapon usage for a short while afterwards
        StartCoroutine(PostWeaponTime(move.moveTime, move.EndLag));

        moveIndex++;
        lastActiveHand = activeHand;
    }