About UnityScript - us.exe compiler
Hi,
With monodevelop, i haven't had any problem writing small standalone hello worlds. new file, hello world code, build and bam. I have a exe.
However, this doesn't work with unityscript. the equivalent code in UnityScript (static void Main, etc) generates the following error:
Error BCE0028: No entry point found. (BCE0028) (MyUnityExample)
So, I'm assuming static void Main (static function Main ( ) : void) doesnt work as the entry point of the UnityScript.
Does anyone have knowledge about this? What should the entry point function be called? Can I instruct the compiler to use a custom function as the entry point?
Note: this is not a question regarding game programming or even Unity. I'm just wondering. I am NOT trying to accomplish anything other than gaining some knowledge on this purely technical question. Any answer pointing out that what I am trying to do is dumb is not very useful and redundant since I just explained the reason of my question. I'm sorry to seem already so "preemptively ungrateful" but I ask this question as I would ask an encyclopedia or technical manual. This is a "what is" question, not a "how do I" question. Thank you for time reading this defensive essay.