Primpy
❔ How to make a list of tuples that hold references?
To clarify,
AddLocalizedText
is called with the parameter LanguageStrings.StartGameButtonString
, which is a string declared in the body of my class. The desired result is for the Item2
of LocalizedText
to update by itself whenever the value of StartGameButtonString
is modified. Sorry if I worded this poorly.20 replies
❔ How to make a list of tuples that hold references?
It's part of a larger project. The relevant code looks something like this:
I noticed the problem when placing a breakpoint inside the
Update()
function. Even though the contents of StartGameButtonString
were updated, the string inside localizedText.Item2
was not. Is the problem here or should I look somewhere else?20 replies