Пример #1
0
    public override bool CheckCondition()
    {
        Jump jumpState = GetStateMachine().GetCurrentState <Jump>();

        if (jumpState != null)
        {
            return(jumpState.GetJumpCount() > 0);
        }

        return(false);
    }