Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void OnEnable()
- {
- if (returnPlayer == true)
- {
- //loadsettings
- }
- else
- {
- savedfile == new savedfile;
- }
- // do the rest of your stuff
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement