// Start is called before the first frame update void Start() { vieDuJoueur = GameObject.FindGameObjectWithTag("Player").GetComponent <VieDuJoueur>(); }
public void EnvoyerDegat(int degat) { VieDuJoueur vie = GameObject.FindGameObjectWithTag("Player").GetComponent <VieDuJoueur>(); vie.recevoirDesDegats(degat); }