private void Awake() { fuelManager = GetComponent <FuelManager>(); this.normalcolorL = this.leftImage.color; this.normalcolorR = this.rightImage.color; shipExplote = GetComponent <ShipExplote>(); }
private void Awake() { health = 100; UI = GameObject.Find("UI"); panelDemuerte = GameObject.Find("Has muerto"); UI.SetActive(true); panelDemuerte.SetActive(false); Time.timeScale = 1; shipExplote = GetComponent <ShipExplote>(); }