下辈子千万不要做程序员,少很多失眠

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/avi9111/article/details/70766874

之前在找一个Unity C#和Js共容的开发解决方案,发现实在是难啊难,找到大半夜,结果在论坛看到一哥们的解决方案这么一说,差点笑死

==============================================================================

Read this: Script compilation and look at this discussion in forum.

 

Basically, the javascript isn't compiled at the moment C# tries to refer it. Solution is to place the javascript files in the Standard Assets hierarchy to force it to be compiled before the C# scripts. If possible, try to stick to one language, saves a lot of headaches.

===============================================================================

我的疼苦,不是,应该一般人的爽快是建立在别人的痛苦之上,这说法真心没错,看到地球的另一个角落有那么一些人和我一样痛苦,我也就安心了

展开阅读全文

没有更多推荐了,返回首页