playMaker

Author Topic: A question in relation to player prefs.[solved]  (Read 984 times)

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
A question in relation to player prefs.[solved]
« on: December 23, 2023, 07:11:32 PM »
In my current project, I am using the actions Json save + load, However, You cannot have more than one loading action within the same state.

I was trying to compare the different filenames. There are six that I need to check.

Would it be possible to use player prefs in this special case, Loading each of the possible six filenames within the one state and be able to compare if a bool value that each one checks for that specific filename is true?

Thankyou for your time and help with this request.










« Last Edit: December 28, 2023, 10:40:04 AM by colpolstudios »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: A question in relation to player prefs.
« Reply #1 on: December 24, 2023, 08:17:13 AM »
playerprefs is very limited and is stored in the Registry (for pc)
and i believe that you only can store int / float / string values.

I believe that there is a action on the ecosystem to check if a file exists, maybe that could help