Ejemplo n.º 1
0
    internal void Eqip(int index)
    {
        DeactivateWeapons();
        CANFIRE        = true;
        m_Activeweapon = weapons[index];
        m_Activeweapon.Eqip();


        weapons[index].gameObject.SetActive(true);
        if (onweaponswitch != null)
        {
            onweaponswitch(m_Activeweapon);
        }
    }