标签:
void UKismetSystemLibrary::ExecuteConsoleCommand(UObject* WorldContextObject, const FString& Command, APlayerController* Player) { // First, try routing through the primary player APlayerController* TargetPC = Player ? Player : UGameplayStatics::GetPlayerController(WorldContextObject, 0); if( TargetPC ) { TargetPC->ConsoleCommand(Command, true); } }
ExecuteConsoleCommand
UE4 执行Console Command ----ExecuteConsoleCommand
标签:
原文地址:http://www.cnblogs.com/linqing/p/5037357.html