Esempio n. 1
0
    public void OnUse()
    {
        EquipmentManager mgr = GameObject.FindGameObjectWithTag("Equipment").GetComponent <EquipmentManager>();

        if (mgr)
        {
            mgr.AddArmorItem(this);
        }
    }