Unreal Console & Argument

posted in: C++, Unreal | 0

To use Console commande line :

UFUNCTION(Exec)
void EnableMovement(bool enable);

To Read Executable argument :

if (FParse::Param(FCommandLine::Get(), TEXT(“EnableMovement”)))