private void OnParticleCollision(GameObject other) { if (other.tag == "Enemy") { _enemyController = other.GetComponent <IEnemyController>(); _enemyController.EnemyHealth(); gameObject.SetActive(false); } if (other.tag == "Stick") { _stickController = other.GetComponent <IStickContoller>(); _stickController.BurnTheStick(); } }