Example #1
0
 private void Awake()
 {
     fuelManager       = GetComponent <FuelManager>();
     this.normalcolorL = this.leftImage.color;
     this.normalcolorR = this.rightImage.color;
     shipExplote       = GetComponent <ShipExplote>();
 }
Example #2
0
    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>();
    }