Quantcast
Channel: Latest Questions by MobiusDev
Viewing all articles
Browse latest Browse all 22

Best method for scripting weapon attributes.

$
0
0
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 all articles
Browse latest Browse all 22

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>