How to Disable Autosave on specific prefab instance?

Discussion and help for Easy Save 3
Post Reply
Gohloum
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

How to Disable Autosave on specific prefab instance?

Post 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

User avatar
Joel
Moodkie Staff
Posts: 2753
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to Disable Autosave on specific prefab instance?

Post by Joel »

Hi TJ,

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

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Gohloum
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Post 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

User avatar
Joel
Moodkie Staff
Posts: 2753
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to Disable Autosave on specific prefab instance?

Post 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
Joel @ Moodkie Interactive
Twitter - Unity

Gohloum
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Post by Gohloum »

Just sent. Thank You!!!!!!

Gohloum
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Post 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?

User avatar
Joel
Moodkie Staff
Posts: 2753
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to Disable Autosave on specific prefab instance?

Post 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
Joel @ Moodkie Interactive
Twitter - Unity

Post Reply