Page 1 of 1

How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 7:12 pm
by Gohloum
Hello,

A have a scenario where the player can drag objects around on the screen. While in 'drag mode' I want to disable the autosave capabilities from that particular instance but not the whole scene or other objects, so if the player was to close the app, or go to another scene, the object would not update it's saved data. I have access to the target game object that is being dragged and thus the ES3AutoSave component, but setting enabled = false does not prevent the save from happening.

Please advise on how I can resolve this issue.

Thanks!

TJ

Re: How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 7:22 pm
by Joel
Hi TJ,

You can achieve this by deleting the ES3AutoSave Component from the prefab.

All the best,
Joel

Re: How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 10:01 pm
by Gohloum
Delete it? I think you misunderstand my needs. I only wish to temporarily disable the saving ability momentarily to prevent the object from being saved in a 'drag state'. This is the only state that the object should not be saved. Once the user drops the object or puts it on the grid, then auto save should continue to function. So I need to be able to temporarily disable it but return to saving.

TJ

Re: How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 10:04 pm
by Joel
Hi there,

If you PM me your invoice number I can send you a modified version which ignores any Auto Saves which are disabled.

All the best,
Joel

Re: How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 10:10 pm
by Gohloum
Just sent. Thank You!!!!!!

Re: How to Disable Autosave on specific prefab instance?

Posted: Wed Mar 25, 2020 10:33 pm
by Gohloum
Hmm. It says I sent you the PM, but the message is still showing in my Outbox tab. Can you let me know if you didn't get it?

Re: How to Disable Autosave on specific prefab instance?

Posted: Thu Mar 26, 2020 8:03 am
by Joel
Hi there,

Messages remain in the outbox until the recipient opens their inbox. I've just sent the update over to you now :)

All the best,
Joel