Hi,
I have a class where i store my variables that are public to all other functions. But the problem is that, it works when i test it in the unity editor, when i export it as web based application doesn't work. After i search i found that the static variables are not updated.
Scenario: I have stored an variable in GenerealFunctions.cs which will be accessed from many other codes.
Example: When i call the method makeTrue() of the class aCode.cs with a UI button the variable theObject...
Static variable from different class are not updated during the game in Webplayer
I have a class where i store my variables that are public to all other functions. But the problem is that, it works when i test it in the unity editor, when i export it as web based application doesn't work. After i search i found that the static variables are not updated.
Scenario: I have stored an variable in GenerealFunctions.cs which will be accessed from many other codes.
Example: When i call the method makeTrue() of the class aCode.cs with a UI button the variable theObject...
Static variable from different class are not updated during the game in Webplayer