Exemplo n.º 1
0
    void Start()
    {
        ple = GetComponent <PrefabListEmitter>();
        GameObject obj = GameObject.Find("EnemyParent");

        EnemyParent = obj.transform;
    }
Exemplo n.º 2
0
 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);
 }