Example #1
0
        void AddWave()
        {
            MainSoundSrc.PlaySound("airplane");
            airplane.GetComponent <Animator>().Play("AirplaneFly", -1, 0f);
            bird.GetComponent <Animator>().Play("bird_airplane", -1, 0f);
            timer = Game3_LvlingStat.GetLvling().airplaneDelayed;
            GameObject    gobj = new GameObject("Wave");
            ParashootWave wave = gobj.AddComponent <ParashootWave>();

            wave.SetupWave(gameplayItem);
        }
Example #2
0
 public void SetParentWave(ParashootWave wave)
 {
     parentWave = wave;
 }
Example #3
0
 public void SetParentWave(ParashootWave wave)
 {
     parentWave = wave;
     parashootObject.SetParentWave(wave);
 }