I would like to take WeaponID etc. from this script:
public class WeaponInfo : MonoBehaviour
{
public string WeaponName;
public float WeaponID;
public float Ammo;
public float FireRate;
public float Damage;
}
Into the Pickup script that is attached to the same Weapon object. The plan is that I want to make the WeaponPickup Script take Information from the WeaponInfo script, so I could use it when my Character picks it up it would take the information of what is the weapon ID etc. So if the character picks up a weapon with 10 ammunition it would change the character WeaponID from hands to a pistol with 10 ammunition etc. But I have no idea how to do that.