Currently i have a basic weapon damage script. However this only works for one weapon. So i was wondering how would i go about scripting attributes and abilities of different weapons or even normal objects.
Would i have a different script for each object, which is assigned to that object, which becomes assigned to the player when it is in their inventory, then a damage script would call on these other object scripts?
If anyone has knows of some example unity assets that i could look at that would be great.
This is too subjective and depends on how comfortable you feel with data structure design (and also depends on the size of your project). I suggest you use classes to represent your weapons/objects and delegates to use different damage functions depending on the weapon script attached to the player.