Beispiel #1
0
 private void HandleOutline()
 {
     _outlineCounter.Count();
     //if (_outlineCounter.Remaining(0.33f)) _blink = true;
     if (_outlineCounter.Done())
     {
         _jellyfish.Hide();
         //_blink = false;
         _outlineCounter.Reset();
     }
 }
 private void HandleOutline()
 {
     if (Mathf.Abs(basic.Radar.transform.position.x - _trash.transform.position.x) > _stayVisibleRange)
     {
         _outlineCounter.Count();
         if (_outlineCounter.Done())
         {
             _trash.Hide();
             _outlineCounter.Reset();
         }
     }
 }