How to Disable Autosave on specific prefab instance?

Discussion and help for Easy Save 3

How to Disable Autosave on specific prefab instance?

Postby Gohloum » Wed Mar 25, 2020 7:12 pm

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
Gohloum
 
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Joel » Wed Mar 25, 2020 7:22 pm

Hi TJ,

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

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2688
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Gohloum » Wed Mar 25, 2020 10:01 pm

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
Gohloum
 
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Joel » Wed Mar 25, 2020 10:04 pm

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 - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2688
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Gohloum » Wed Mar 25, 2020 10:10 pm

Just sent. Thank You!!!!!!
Gohloum
 
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Gohloum » Wed Mar 25, 2020 10:33 pm

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?
Gohloum
 
Posts: 4
Joined: Wed Mar 25, 2020 7:07 pm

Re: How to Disable Autosave on specific prefab instance?

Postby Joel » Thu Mar 26, 2020 8:03 am

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 - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2688
Joined: Wed Nov 07, 2012 10:32 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron