private void OnTriggerEnter(Collider other)
 {
     _rotatingModel.ChangeSide();
     _particlesController.PlayArmoredBugParticles();
     _turningEffect.MakePopUp();
     _eatingController.EatBug(this.gameObject);
 }
예제 #2
0
 private void OnTriggerEnter(Collider other)
 {
     if (_hasShield)
     {
         _hasShield = false;
         Shield.SetActive(false);
         _eatingController.EatSomething();
         _particlesController.PlayArmoredBugParticles();
     }
     else
     {
         _particlesController.PlayArmoredBugParticles();
         _eatingController.EatBug(this.gameObject);
     }
 }
예제 #3
0
 private void OnTriggerEnter(Collider other)
 {
     _particlesController.PlaySimpleBugParticles();
     _eatingController.EatBug(this.gameObject);
 }