Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        GameObject Leafef = (GameObject)Instantiate(leafef, this.transform.position + new Vector3(0, 0, -1), this.transform.rotation);

        effb.dmg          = 1;
        effb.speedup      = 1;
        effb.dmgup        = 2;
        effb.PlayerBullet = false;
        effb.Perfab       = leafef;
        effb.bulletgo     = Leafef;
        effect.BulletListOfEnermy.Add(effb);
        id = effect.GetBulletIdByGO(Leafef, effect.BulletListOfEnermy);
    }