示例#1
0
    public override bool Check(BTInput _input)
    {
        AIInput input = _input as AIInput;

        if (input != null)
        {
            return(input.CheckCondition(AIConditionType.HasTarget));
        }
        return(false);
    }
示例#2
0
    public override bool Check(BTInput _input)
    {
        AIInput input = _input as AIInput;

        if (input != null)
        {
            return(input.CheckCondition(AIConditionType.IsAttackRange));
        }

        return(false);
    }