UE4Editor.exe运行与调试 “-run=XX” 命令行

阅读 28

2024-07-27

如果看到这么一条工作命令:

它意味着命令行,“-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博客 。

精彩评论(0)

0 0 举报