// Start is called before the first frame update private void Start() { jet = JetStatus.Get(); playerMovement = player.GetComponent <AircraftMovement>(); playerGravity = player.GetComponent <Rigidbody>(); fuelBar = GetComponent <Scrollbar>(); }
private void Start() { playerAircraft = player.GetComponentInParent <AircraftMovement>(); playerRigidbody = player.GetComponentInParent <Rigidbody>(); jet = JetStatus.Get(); explosionParticles = explosion.GetComponent <ParticleSystem>(); }
private void Start() { smooth = 1.2f; inclination = 0; jet = JetStatus.Get(); speedLimit = 100; jet.speed = 0; }
// Start is called before the first frame update private void Start() { target = GetComponentInChildren <UIFollowTarget>(); enemyMG = GetComponentInChildren <AircraftMachinegun>(); player = JetStatus.Get(); enemiesDestroyed = EnemiesDestroyed.Get(); player.enemiesLeft++; explosionParticles = explosion.GetComponent <ParticleSystem>(); }
// Start is called before the first frame update private void Start() { bullet.GetComponent <MeshRenderer>().enabled = false; bullet.GetComponent <BoxCollider>().enabled = false; bullet.SetActive(false); jet = JetStatus.Get(); destObject = GetComponentInParent <Transform>(); parentTransform = GetComponentInParent <Transform>(); }
// 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>(); }
// Start is called before the first frame update void Start() { jet = JetStatus.Get(); }
private void Start() { transform.position = dirFrom; playerJet = JetStatus.Get(); }