I have a player game-object with a script Player. In the Player script I have a public properties weapons.
I want to have to just drag in this properties a script/prefabs. And the Player script must can get the properties of the weapons selected.
For example: imagine, we have two weapons, one is a pistol with 5 attack power, the other is a knife with 7 attack power.
What should I drag here ? A game-object with a weapon script ? Or a weapons script who instantiate a weapon ? Or maybe an another solution ...
The idea is to be able to create easily some weapons without scripting more. Just place a sprite, and modify some properties.