Hi - I would like to organise user saves using a "tag" so that when choosing a file to load, you can filter them by tag.
Is this possible?
Search found 19 matches
- Tue Mar 23, 2021 8:47 am
- Forum: General Discussion
- Topic: Assigning a "tag" to an ES3 save file?
- Replies: 1
- Views: 512
- Mon Mar 22, 2021 1:05 pm
- Forum: General Discussion
- Topic: Some sprites save, others do not.
- Replies: 3
- Views: 816
Some sprites save, others do not.
Hi I have 2 objects with an <Image>().sprite attached to a child gameObject of each. One object saves and loads the object with the sprite correctly. The other object loads the object but not the sprite. I'm using the exact same code to load both game objects. Is there something I should know about ...
- Wed Jan 27, 2021 11:21 am
- Forum: General Discussion
- Topic: Setting the duration while system is still playing is not supported.
- Replies: 6
- Views: 1328
Re: Setting the duration while system is still playing is not supported.
Sorry I'm on a deadline with this project so cannot spend time setting up a new project - if I destroy the particle system instead it works and I can workaround this issue.
- Wed Jan 27, 2021 10:17 am
- Forum: General Discussion
- Topic: Setting the duration while system is still playing is not supported.
- Replies: 6
- Views: 1328
Re: Setting the duration while system is still playing is not supported.
Yes: if (gobject.GetComponentsInChildren<ParticleSystem>().Length != 0) { ParticleSystem[] partsystems = gobject.GetComponentsInChildren<ParticleSystem>(); foreach (ParticleSystem system in partsystems) { system.Stop(true, ParticleSystemStopBehavior.StopEmittingAndClear); } } //Then go ahead and sav...
- Tue Jan 26, 2021 12:45 pm
- Forum: General Discussion
- Topic: Setting the duration while system is still playing is not supported.
- Replies: 6
- Views: 1328
Re: Setting the duration while system is still playing is not supported.
So, On Save call Stop() on all particle systems before saving?
So that On Load there shouldn't be any particle systems running?
Edit: That doesn't work.
So I need to iterate through a list held in a save file, turn off all the particle systems, before loading it?
So that On Load there shouldn't be any particle systems running?
Edit: That doesn't work.
So I need to iterate through a list held in a save file, turn off all the particle systems, before loading it?
- Tue Jan 26, 2021 12:15 pm
- Forum: General Discussion
- Topic: Setting the duration while system is still playing is not supported.
- Replies: 6
- Views: 1328
Setting the duration while system is still playing is not supported.
Hi - when loading objects with particle systems included in their children, I'm receiving this error. Any tips on how to resolve this? Setting the duration while system is still playing is not supported. Please wait until the system has stopped and all particles have expired or call Stop with Partic...
- Tue Dec 29, 2020 1:05 pm
- Forum: General Discussion
- Topic: Cannot load a list with Easy Save 3
- Replies: 5
- Views: 1379
Re: Cannot load a list with Easy Save 3
Here I believe I'm saving MYLIST (a list of gameobjects) under the name "filename". public void SaveThisList(string filename) { ES3.Save(filename, MYLIST, filename); } Here I believe I'm loading that saved list, MYLIST, into an empty list EMPTYLIST: LoadAList(MYLIST); public void LoadAList...
- Tue Dec 29, 2020 11:21 am
- Forum: General Discussion
- Topic: Cannot load a list with Easy Save 3
- Replies: 5
- Views: 1379
Re: Cannot load a list with Easy Save 3
Ok, so: Saving: public void SaveThisMap(string filename) { ES3.Save(filename, GetComponent<MapManager>().allObjects, filename); } Loading: public void LoadAMap(string filename) { // Create an ES3File. var es3File = new ES3File(filename); // Load a List from the ES3File into an existing List. es3File...
- Mon Dec 28, 2020 9:49 pm
- Forum: General Discussion
- Topic: Cannot load a list with Easy Save 3
- Replies: 5
- Views: 1379
Cannot load a list with Easy Save 3
I am saving a list of "allObjects" via: public void SaveThisMap(string filename) { ES3.Save(filename, GetComponent<MapManager>().allObjects, filename); } And I cannot load the list back into the original list via: public void LoadAMap(string fileName) { List<GameObject> allObjects = GetCom...
- Mon Dec 28, 2020 2:39 pm
- Forum: General Discussion
- Topic: GetFiles() question
- Replies: 6
- Views: 1733
Re: GetFiles() question
Thanks, I've sent you a private message.