UE4Editor.exe运行与调试 “-run=XX” 命令行
如果看到这么一条工作命令:
%EnginePath%\Binaries\Win64\UE4Editor-Cmd.exe %ClientPath%\%ProjectName%.uproject -run=HotPatcher {其它配置}
它意味着命令行,“-run=” 后面接的内容是命令行,
class UHotPatcherCommandlet :public UCommandlet
文件一般位于 Plugins\HotPatcher\Source\……\Classes\Commandlets\HotPatcherCommandlet.h。
int32 UCookCommandlet::Main(const FString& CmdLineParams)
就如同 -run=cook 对应下面入口是一样的,UCommandlet类及其子类的重要方法是 Main() 。在Main这里下断点,就可以调试其逻辑。调试方法见:UE4调试UE4Editor-Cmd.exe-CSDN博客 。
原文地址:https://blog.csdn.net/sinat_23135151/article/details/140699719
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!