void Start() { ple = GetComponent <PrefabListEmitter>(); GameObject obj = GameObject.Find("EnemyParent"); EnemyParent = obj.transform; }
void Start() { WaveNumber = 0; Wave = WaveObj.GetComponent <PrefabListEmitter>(); rim4rate = 1; prefab.Time = 0; prefab.Pos = new Vector3(0, 7, 0); Wave.list.Add(prefab); Activate = true; EffectFlg = false; StrictFlg = false; panel.SetActive(false); ReButton.SetActive(false); }