Unity3D代码调试
更新:HHH   时间:2023-1-7


1.光标定位到代码中的指定行,按F9/单击左键 设置断点。


2.在点击RUN->“Attach to Process...”

3.弹出Attach to Process面板

出现的面板中选择Process Name为unity Editor(Unity)后,单击Attach或者双击unity Editor(Unity)


4.运行untiy工程,就可以F10 F11 Shift+F11啦。


5.调试结束Shift+F5。



返回游戏开发教程...