Hello everyone,
I have a rather simple Scriptable Object which looks like this:
What works is that I can change the values from within my code and they are saved and used as expected.
However, what does not work anymore is that the values shown in the inspector do not change if the values are changed within the code and the other way round: If I change the values in the inspector during runtime this has no effect.
Can somebody tell me what goes wrong?
Extra question (but above is way more important): Visual Studio tells me that the gameHasEnded variable is “assignd but never used” (see first screenshot). However, below you see that it has 3 references and it is used. I did not figure out how to get rid of it.