Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

When JS scripts compiles into a dll, the Start, Update, etc methods all are 'overrides'? and... there's also a 'Main' method?

$
0
0
So I was [messing with manual compilation][1] a bit, and compiled a simple JS script into a dll: TestJs.js #pragma strict function Update() { } function Start() { } I looked at the generated dll, and was quite surprised... ![alt text][2] I'm not a JS dude, so I could be missing something simple. But, what are we 'overriding', and who the hell is this "Main"?! [1]: http://answers.unity3d.com/questions/730749/measuring-script-recompilation-times.html [2]: /storage/temp/28024-compile.png

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>