Grannyboy
Active member
I have an custom made weapons crafting bench were I want to change for example the "Clip size" and "Damage" on my characters Item with Shootable weapon script attached to it.
I read the "Event system" page top to bottom several times but still cant understand how to go on about this.
For example, when I equip my weapon with a bigger clip, I want to change the clip size from original 30 to 40 trough code.
I read the "Event system" page top to bottom several times but still cant understand how to go on about this.
Events - Opsive
The EventHander adds a generic event system to the character controller. This system is preferred internally over Unity’s event system because it doesn’t allocate any . . .
opsive.com
For example, when I equip my weapon with a bigger clip, I want to change the clip size from original 30 to 40 trough code.