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); }
public void SetParentWave(ParashootWave wave) { parentWave = wave; }
public void SetParentWave(ParashootWave wave) { parentWave = wave; parashootObject.SetParentWave(wave); }