Just having some novice problems making a custom remember script, based on RememberName script.
The script compiles just fine, but it doesn't seem to save the tags (In this game in particular, is only a scene with lots of varible work and changing gameobjects propierties so I have a lot of remember scripts to do....
So I don't know if I just messed up with Unity's code or AC.
Here it is:
https://pastebin.com/A8H8prgc
Comments
Note: By Controlled I mean AC barely handles open close of the menu, nearly any element inside.
Without openning Unity, I have some considerations about the problem:
The Load system gave me problems (the Unity UI in scene loses linked status on load; So i checked the "Reload whole scene on load" on Settings Manager (as I said is a singlescene game), and the the canvas were linked ok, so that problem fixed.
So when I save, the button is well tagged, on load is default again, so it restore the whole scene, but while Load effectivly restores all other things need to be restored, doens't change the tag data on the button, I don't know if is AC-UI management related.
Or if the script for a gameobject in a Canvas should be different, but well, it's just a gameobject with a button script and don't know if it
I'm gonna check...
Yes, the script works on a hotspot. Remember the tag. But don't in the UI menu on scene.
In this game, I'm using 1.62.5 AC version, Unity 3.1f1
Seeing lots of related isues about deactivated gameobjects causing issues when AC is not directly handlen them...
Anyway in this project I think I finally only do autosaves, every day loop has a very heavy scripted workout to achive a correct load in the middle of the day loop, and perfectly saving the complete day loop is going to be carefull to program even if the player cannot save on them middle of the day. Anyway, a way to make sure remembers works on UI is going to be critical so it's a life saver.
I have to study Save/Load sytem in depth to make a multiple Autosave system with custom info autolabeled as names.