M
M
MagicalPrincessFromAnothe2018-11-16 16:04:02
C++ / C#
MagicalPrincessFromAnothe, 2018-11-16 16:04:02

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.
5beec0289a1df471822619.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question