I am a little confused when it comes to working with popup in code, for example I have a Popup variable called QuitPopupScreen which has 3 states "NoAction", "YesButton", "NoButton", these will help me determine the logic for Popup dialogs.
However I cannot see the SetInitialValue or something similar. Getting the value I understand, I simply do something like this
GetComponent<Variables>().GetVariable("QuitGameScreen").GetValue();
I just need to know how to set it by code. I guess I could just run an actionlistasset by code since its easier to get and set popup in the actionlist editor
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
In code, PopUps are essentially integers but with a limited range. They're mainly useful in the Editor, as you can then access their labels.
You can set a PopUp value with its SetValue function.
awesome thanks!