
It looks like you're new here. If you want to get involved, click one of these buttons!
Hello everyone!
I have attached screenshot of a part of the video. There in the constructor of the class, brackeys stores the variable level of the player to the variable of the PlayerData class.... my question is, often w have static variables in the player class, how do we store the static variables of player...I mean we can't create a constructor and add static variables to the parameter of the constructor....I have coin amounts in my Game Manager class which is static.....how do I save this static coin variable in binary format? Please help me BRACKEYS.....
😶 I cant upload the pictures...it says error code 403......but you can go to this link...I have set the URL at current time😀
Answers
Just set a non static variable to the static variable and save the non static variable then on start set the static variable to the saved value.