Heyho,
I have a small issue regarding the inspector. For some reason when i try to open (in the inspector) the Tank Player Script, so that i can give it the references to the Wallet script i get a cast error. I have never seen something like that. Maybe someone can help.
Here is my Code in the script
Should be the same as Nathan descriped it.
Maybe someones knows whats going on here. Ty for the help