I have 2 scenes each one have own script simply I want to get a value from script 1 and use it in script 2 which is loaded in the second scenes which happen is it always load the default value for this variable
ex; if I call string variable which should have value (sas) it appears in the second script with null if integer it will be 0 although if I print it in the first script it will have the right value which "sas" .
![alt text][1]
the second script which extends the first one.
![alt text][2]
[1]: /storage/temp/133538-script-1.png
[2]: /storage/temp/133539-script-2.png
↧