UE4 执行Console Command ----ExecuteConsoleCommand
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
    本文原创,不定时更新
可以随意转载到任何网站
~但是~ 转载也要按“基本法”
请注明原文出处和作者
)O$HJZH.png) 

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号