Forum rules - please read before posting.

Variables Updating Question

Hi! Big fan of Adventure Creator :) Been a while since I asked a question but it's time!

Unity: 2021.3.1
AC: 1.75.2

I have a very simple script:

        int currentTarotCount = GlobalVariables.GetIntegerValue(48) + 1;
        GlobalVariables.SetIntegerValue(48, currentTarotCount);
        Debug.Log("GlobalVariables.GetIntegerValue(48): " + GlobalVariables.GetIntegerValue(48));

But when I run it in the Unity Editor, I don't see the var update live

Should I, or is it not responsive in that way? Trying to debug where this count goes awry so I want to make sure I am looking at it correctly.

Thank you!!

Comments

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.