but i want to replicate this but it doesnt work for me
i dont know where i went wrong but im fully new to coding, and i need this for my game im making, and i cant seem to get a variable in my UI_Main called Ammo, even though i added a text on the ui called ammo
the ammo system im making is ammo just decreases, i will add ammo bought to the ammo so i dont have to have a reload system in my game
a bit hard to follow this but one issue i see is your adding the same widget twice at the start
also your updating InGameHUD but you widget seems to be UI_Main?