Forum rules - please read before posting.

Autosaving UI/Menu ideas?

I'm working on displaying an icon or a message while the game is autosaving. I've made an Actionlist asset that saves to the autosave slot while displaying a custom Unity UI menu, and that seems to be working great.

But when loading the autosave, this custom menu is always visible - I'm guessing its visibility is saved as part of the autosave. Is there a way to exclude a certain menu from the save, or is it easier to trigger the menu visibility in a custom On Load actionlist?


  • How do you load the Autosave?

    If it's via a SavesList element, you can assign an "ActionList after loading" in its properties to turn it off.

    But it's also possible to do through scripting, by hooking into the OnFinishLoading custom event:

    using UnityEngine;
    using AC;
    public class ForceOffAutosaveMenu : MonoBehaviour
        void OnEnable () { EventManager.OnFinishLoading += OnFinishLoading; }
        void OnDisable () { EventManager.OnFinishLoading -= OnFinishLoading; }
        void OnFinishLoading ()
            PlayerMenus.GetMenuWithName ("Autosave").ForceOff ();
  • Excellent! The ActionList after loading works perfectly to turn off the menu!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.