I want to create a unique weapon icon widget for each type of weapon in my game.
I have the common functionality in a parent “base weapon icon” widget.
I have an Image in my base weapon icon widget which i would like to update/override in my child widget.
What is the best way to do this?
Thanks
If a child calls this, it will use its own Icon:
Above, do note that you want to call, rather than override. Nothing to override here, the parent has done the hard work already. Unless you want to do something else and/or additional with the new icon for the child:
call
override
Thanks! This is exactly what i need.