Example #1
0
 public void SetFoodIgnored(LivingBeing lb)
 {
     FoodIgnored = lb;
     if (lb != null && this != null && StopIgnoringFood() != null)
     {
         if (_foodIgnoreCoroutine != null && _foodCoroutineRunning)
         {
             StopCoroutine(_foodIgnoreCoroutine);
         }
         _foodIgnoreCoroutine = StartCoroutine(StopIgnoringFood());
     }
 }
Example #2
0
 public void SetTargetFood(LivingBeing target)
 {
     TargetFood = target;
 }