Search code examples
c#save

How to save gameobjects into prefabs or save lists(string) unity c# 3D


I want to create a list that I can put strings in and save it close unity reopen it and load it. Preferably, I would like to save the list itself, but anything else is appreciated. Thanks!

I tried google in youtube, but I didnt find any youtubers saving lists or gameobjects. I also tried the assetstore of Unity, didnt help. Thank you!


Solution

  • Depending on your use case, persistent data or player prefs might be the keywords that you're looking for.