void Awake() { StartHealth = health; mySpawnPS = Instantiate(spawnPrefab).GetComponent <ParticleSystem>(); flight = GetComponent <SSFlight>(); engineSound = GetComponent <SSEngineSound>(); shield = GetComponent <SSShield>(); team = GetComponent <SSTeam>(); }
private void Start() { engineSound = GetComponent <SSEngineSound>(); }