public Fusee(Cabine cabine, Moteur moteur, Carburant carburant) { this.cabine = cabine; this.moteur = moteur; this.carburant = carburant; }
public void init() { _isInit = true; _vie = GetComponent<Sante>(); _vie.setPersonnage(this); _mana = GetComponent<Magie>(); _mana.setPersonnage(this); _moteur = GetComponent<Moteur>(); _moteur.setPersonnage(this); _potions = GetComponent<PochettePotion>(); _potions.setPersonnage(this); _sac = GetComponent<Sac>(); _sac.setPersonnage(this); // _cam = Camera.current.GetComponent<CameraBehaviour>(); cam.personnage = this; }