Hi Guys, I’m making my shop menu (weapons ), i have 2 structures, first “PlayerStruct” (player coins player level ecc…)
second i have “WeaponSruct” (price damge ecc…), i ve made buy menu, it works, it subtracts the PRICE at PLAYER COINS it set the weapon Acquired ( Bool Variable), but he don t save the values in fact when i turn back at main menu i display the “PlayerStruct” values but they’re displayed as default values.
*the operation of buying is made between the 2 struct in WEAPON SHOP WIDGET
**in MAIN SHOP WIDGET are displayed PlayerStruct values, (the modified values aren’t displayed, are displayed default values).
** if turn back from MAIN MENU to WEAPON SHOP struct variables are displayed as default ( it don’t change the value)