So im making my first game, an idler, and after watching a few tutorials i hit a dilema:i get a object reference error and even tho the code looks alright to me, and the golddisplay and Epc stop working.
How about posting your complete error massage? That would be kind of helpful.
Are you sure you have the Golddisplay variable assigned in the inspector?
Are you sure that you have a gameobject that is active in your scene with the currencyconverter on it? If not that youd it be.
The awake function is only called if the script is on a gameobject and active.
im an idiot XD forgot to add the fuction to the correct objs ty