#Saving
9 messages · Page 1 of 1 (latest)
There's C#'s BinaryFormatter class. Also, can you further clarify what exactly you're trying to save, here?
There is also CSV or Comma Separated Values.
Unless I misunderstood your question, I believe you can just call instantiate and pass in the existing instance and it will instantiate a new one with the same script values as the instance. Either way you shouldn't need to save to playerprefs to copy values at runtime; You can just store them in memory.
The only time you'd need to save values externally is if you need them to persist across sessions.
If i understand correcty yes, you can use the C# Stream file class
You can also compress and convert to binary
in order to make your files more safe
For unity use .NET STANDARD 2.1 API ( if unity is 2018 or older)
https://learn.microsoft.com/en-us/dotnet/api/system.io.streamreader?view=netstandard-2.1
Reading file