Example #1
0
    // Start is called before the first frame update
    void Start()
    {
        rarity_chance = 0.6f;

        ak_drop      = this.GetComponentInChildren <DropAK>();
        vector_drop  = this.GetComponentInChildren <DropVector>();
        pump_drop    = this.GetComponentInChildren <DropPumpShotgun>();
        aug_drop     = this.GetComponentInChildren <DropAug>();
        m1_drop      = this.GetComponentInChildren <DropM1>();
        scar_drop    = this.GetComponentInChildren <DropScar>();
        aa12_drop    = this.GetComponentInChildren <DropAA12>();
        g36_drop     = this.GetComponentInChildren <DropG36>();
        mp5_drop     = this.GetComponentInChildren <DropMP5>();
        deagle_drop  = this.GetComponentInChildren <DropDeagle>();
        p90_drop     = this.GetComponentInChildren <DropP90>();
        barrett_drop = this.GetComponentInChildren <DropBarrett>();
        xm8_drop     = this.GetComponentInChildren <DropXM8>();
    }