Unity3D代码调试

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


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

213700305.png

3.弹出Attach to Process面板

214111427.png

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


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


5.调试结束Shift+F5。



你可能感兴趣的:(调试,U3D)