Ejemplo n.º 1
0
 // Start is called before the first frame update
 private void Start()
 {
     oldPanelColor             = new Vector4(0, 0, 0, 0.7f);
     playerStatus              = JetStatus.Get();
     EnemiesDestroyedSingleton = EnemiesDestroyed.Get();
     playerAircraft            = player.GetComponent <AircraftMovement>();
     playerCamera              = player.GetComponent <AircraftCamera>();
     UIPanel = panel.GetComponent <Image>();
     enemiesDestroyedText.text = "";
     finishText.text           = "";
     UIPanel.color             = new Vector4(0, 0, 0, 0);
     Cursor.visible            = false;
     levelStatus = GetComponent <LevelStatus>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     jet = JetStatus.Get();
 }
Ejemplo n.º 3
0
 private void Start()
 {
     transform.position = dirFrom;
     playerJet          = JetStatus.Get();
 }