|
I've been adding #pragma strict to scripts & never get any errors. Guess I'm doing things right? Anyways just curious if it is still invisibly doing wonderful things to my code with the "static typing", is adding #pragma strict actually improving the code in these cases where there is no errors?
(comments are locked)
|
|
The In conclusion a script that pass the
(comments are locked)
|
|
When the build platform is iOS, all JS scripts are compiled with #pragma strict anyway, so adding it manually does nothing. And no it doesn't improve code, all it does is prevent dynamic-typed code from compiling.
(comments are locked)
|
