Beispiel #1
0
    void Awake()
    {
        StartHealth = health;

        mySpawnPS   = Instantiate(spawnPrefab).GetComponent <ParticleSystem>();
        flight      = GetComponent <SSFlight>();
        engineSound = GetComponent <SSEngineSound>();
        shield      = GetComponent <SSShield>();
        team        = GetComponent <SSTeam>();
    }
Beispiel #2
0
 private void Start()
 {
     engineSound = GetComponent <SSEngineSound>();
 }