Пример #1
0
        private bool IsWithinSight()
        {
            bool result = _botVisionComponent.IsWithinSight(TargetTag);

            if (_inverseCondition)
            {
                return(!result);
            }
            return(result);
        }
Пример #2
0
 protected virtual bool IsTargetWithinSight()
 {
     return(_botVisionComponent.IsWithinSight(TargetTag));
 }