Page 1 of 1

Custom Saver

Posted: Thu May 12, 2022 10:56 am
by vectorfrog
Hello,

I have a mini map in my project that I have icons on. The icons are stored in a List. I'd like to be able to Save this list and restore it on a Save/Load operation. I think I need a custom saver as the Game Object Saver isn't meant for this. Does this sound like I'm on the right track? I am currently going through the documentation for both Opsive and the SS, and I'm not finding some info.

Is there a custom saver already available for this type of thing so I don't have to rework something?

Is it SaverBase that I need to inherit from?

As always, I really appreciate the help.

Thank you!

Re: Custom Saver

Posted: Thu May 12, 2022 11:10 am
by Tony Li
Hi,

SaverBase refers to UIS's save system.

Instead, please see How To: Write Custom Savers.

Note: If you're using an integration, such as Quest Machine's integration with HUD Navigation System, the integration probably already includes a saver script.

Re: Custom Saver

Posted: Fri May 13, 2022 6:27 am
by vectorfrog
Thank you for this, I am now using HNS.

Re: Custom Saver

Posted: Fri May 13, 2022 8:24 am
by Tony Li
Glad to help!