private void OnTriggerEnter2D(Collider2D collMissile) { if (collMissile.transform.tag == "Attaque") { vaVersCible = false; vaVersBoss = true; } else if (collMissile.CompareTag("Player")) { StartCoroutine(personnage.Degats(2)); Instantiate(explosion, transform.position, transform.rotation); Destroy(gameObject); } else if (collMissile.transform.tag == "Boss") { StartCoroutine(bossMan.Degats(5)); Instantiate(explosion, transform.position, transform.rotation); Destroy(gameObject); } }