Quantcast
Viewing latest article 9
Browse Latest Browse All 22

Best method for scripting weapon attributes.

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.

Viewing latest article 9
Browse Latest Browse All 22

Trending Articles