Search found 4858 matches
- Tue Mar 19, 2024 8:27 am
- Forum: General Discussion
- Topic: Pause Auto Save Feature
- Replies: 1
- Views: 1922
Re: Pause Auto Save Feature
Hi there, As you've noted, you would just set the Save Event and Load Event to None. This will stop Auto Save from doing anything unless you manually trigger Auto Save using code. But also note that Auto Save do anything unless you've selected things in the Auto Save window. So if you're not ready t...
- Tue Mar 19, 2024 8:24 am
- Forum: General Discussion
- Topic: How to build out without build keeping saves?
- Replies: 11
- Views: 3153
Re: How to build out without build keeping saves?
I'm not sure what you mean by "clear the SO data", could you clarify?
If you mean just clear the data you've saved regarding ScriptableObjects you can use ES3.DeleteKey to delete individual keys if you've saved your SO data to a separate key.
All the best,
Joel
If you mean just clear the data you've saved regarding ScriptableObjects you can use ES3.DeleteKey to delete individual keys if you've saved your SO data to a separate key.
All the best,
Joel
- Mon Mar 18, 2024 8:26 am
- Forum: General Discussion
- Topic: How to build out without build keeping saves?
- Replies: 11
- Views: 3153
Re: How to build out without build keeping saves?
Hi there, Glad you managed to get that working :) To clear your save data on build you would use Unity's OnPreprocessBuild event: https://docs.unity3d.com/ScriptReference/Build.IPreprocessBuildWithReport.OnPreprocessBuild.html This might look something like this: using UnityEditor; using UnityEditor...
- Sun Mar 17, 2024 8:57 am
- Forum: General Discussion
- Topic: How to build out without build keeping saves?
- Replies: 11
- Views: 3153
Re: How to build out without build keeping saves?
Hi there, What platform are you building for? If you're building for standalone Windows player then the persistent data folder is the same location as the Windows editor (this is only the case for Windows and all other platforms use separate locations). In this case you would need to manually delete...
- Tue Mar 12, 2024 8:46 am
- Forum: General Discussion
- Topic: Saving a list of gameobjects with only floats gives errors
- Replies: 2
- Views: 1946
Re: Saving a list of gameobjects with only floats gives errors
Hi there, Your two ES3.Save calls are using the same key. This means that you're just overwriting the float you're saving with the int you're saving. So when you come to load the float, the data will instead be the int that you've saved, which is why you're getting that error. Usually you would appe...
- Wed Mar 06, 2024 6:31 pm
- Forum: General Discussion
- Topic: How can i save a list of gameobjects?
- Replies: 11
- Views: 3656
Re: How can i save a list of gameobjects?
Thanks Notso :) @Recktardeded: Just to double-check, have you followed the Saving and Loading GameObjects guide? I had assumed you had, but I suspect you might not have (this is the workflow Notso is describing): https://docs.moodkie.com/easy-save-3/es3-guides/saving-loading-gameobjects-prefabs/ Hel...
- Tue Mar 05, 2024 6:03 pm
- Forum: General Discussion
- Topic: How can i save a list of gameobjects?
- Replies: 11
- Views: 3656
Re: How can i save a list of gameobjects?
Hi there, I'm not 100% what the purpose of what you're describing would be, but as that's part of your logic I wouldn't be able to assist with that. Also, ES3 Gameobject(for the plant gameobject) would just save just transform, box collider and plant_Data. Does this sound like a propper way to aproa...
- Mon Mar 04, 2024 5:53 pm
- Forum: General Discussion
- Topic: How can i save a list of gameobjects?
- Replies: 11
- Views: 3656
Re: How can i save a list of gameobjects?
Could you be more specific when you say it doesn't reload: is the script missing from the loaded object, or are it's variables left as their default values? Regarding what fields of a script will be saved, please see the Supported Types and Choosing what is saved guides: https://docs.moodkie.com/eas...
- Mon Mar 04, 2024 8:27 am
- Forum: General Discussion
- Topic: How can i save a list of gameobjects?
- Replies: 11
- Views: 3656
Re: How can i save a list of gameobjects?
Hi there, but it does not load the variables mannualy assigned as a prefab I'm not sure I understand what this means, please could you clarify? Also as mentioned in the guide, you shouldn't simply select all of the Components on an ES3GameObject unless you know they're serializable and need to be sa...
- Wed Feb 28, 2024 4:38 pm
- Forum: General Discussion
- Topic: Saving material Instances
- Replies: 1
- Views: 1689
Re: Saving material Instances
Hi there, For saving the instantiated prefabs themselves you would follow this guide: https://docs.moodkie.com/easy-save-3/es3-guides/saving-loading-gameobjects-prefabs/ With regards to saving the Materials, this section explains what you will need to do: https://docs.moodkie.com/easy-save-3/es3-gui...