Пример #1
0
    protected override void Conditions()
    {
        int currentAttempts = flightControll.GetJumpCount();

        if (currentAttempts != lastAttempts)
        {
            MyAction(currentAttempts);
        }

        lastAttempts = currentAttempts;

        if (attempts == currentAttempts)
        {
            SetJustComplete();
        }
    }