Answer the question
In order to leave comments, you need to log in
Why does the cast to the SaveGame object break?
Hello, the question is this: I'm trying to cast to my SaveGame type object in order to use a variable from this class (as far as I understood from the tutorial). How I found out that the cast does not work: if you look at the debugging and connect to the "Cast failed" branch, the logic continues to work, but of course it does not change anything, because it does not see the variable.
What am I even trying to do? - save and change game settings.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question