约 100 字 预计阅读 1 分钟
- 次阅读
解析不带参数的
1
2
3
| const TCHAR* CmdLineParam = FCommandLine::Get();
bool value = FParse::Param(CmdLineParam, TEXT("XXXXXXX"));
|
带参数的
1
2
3
4
| const TCHAR* CmdLineParam = FCommandLine::Get();
FString XValue;
FParse::Value(CmdLineParam, TEXT("-XXXXXXX="), XValue);
|