
unity编译和调试系列
unity编译和调试系列
Cloud Flower
二次元老贼、U3D游戏开发、NestJS学习中
展开
-
戏开发unity编译和调试系列:The type or namespace name ‘NativeList<>‘ could not be found
The type or namespace name 'NativeList<>' could not be found (are you missing a using directive or an assembly reference?)package包没有安装,可以参考https://answers.unity.com/questions/1777196/error-when-importing-mathematics.html原创 2021-02-26 17:20:18 · 1875 阅读 · 0 评论 -
游戏开发unity编译和调试系列:Unsafe code may only appear if compiling with /unsafe
问题: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.解决办法:原创 2020-12-25 11:18:09 · 350 阅读 · 0 评论 -
游戏开发unity编译和调试系列:Unity调试DLL
看了网上很多文章以及vs官方说明,目前发现: ● unity里不能实现从c#的DLLImport的函数声明 跳转到c++实际代码的,而这点可以在C#控制台程序内实现 ● unity的vs解决方案包含了C#工程和C++工程时,只能调试C#和C++中的一个,不能两个同时在一个工程内调试,这点在C#控制台程序内实现。要调试,只能是两个vs工程,一个调试C#,一个调试C++如果可以做到unity中C#和C++工程同时在一个解决方案中调试的,请务必在评论区留言打我脸,因为我也想知道o(╥﹏╥)...原创 2020-11-02 17:46:47 · 2296 阅读 · 0 评论 -
游戏开发unity编译和调试系列:Scripting Define Symbols
作用:给C#添加宏定义,这样子可以在不同测试环境(debug,release等)下去掉不需要的代码官方文档: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html别人的文章: https://blog.youkuaiyun.com/swj524152416/article/details/66968892...原创 2020-05-18 11:09:00 · 488 阅读 · 0 评论