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