Generate Dll For Unity In Mono

1 . Create an empty C# class library


2. Compile you class


Change you target .Net Framework (int unity 5.5.1, it need to be .NET3.5 or lower


then build your project


get back to you project in files, you will get you own dll under path bin/Debug



drop to you unity project




Use dll in unity



Add references of UnityEngine.dlland/orUnityEditor.dllto the project, you can do so by browsing into the folder (typically, depending on your specific Unity3D installation directory):

Mac:              /Applications/Unity/Unity.app/Contents/Frameworks/Managed/

Windows:      C:\Program Files\Unity\Editor\Data\Managed


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,601评论 0 23
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,607评论 5 6
  • 睿之笔记 感/谢/关/注 smart notes 屏蔽那些无效朋友圈 物以类聚,人以圈分。南都周刊早前的一篇文章《...
    郭睿之阅读 3,619评论 0 0
  • 你去过新疆吗?初六我送江南姐出发,两天两夜的火车,到乌鲁木齐时已连续下了多日的大雪,据说已没脚踝。在异地过年,手机...
    扶摇hj阅读 1,463评论 0 0
  • 有的人天生就没有骨气,有的人天生就没有志气!这样的人整天怨天,怨地,怨父母,怨亲戚朋友,感觉全世界都对不起他,但是...
    一只羊1237阅读 3,602评论 0 0

友情链接更多精彩内容