Is there an altenative to the following line where I don’t need to use ConsoleCommand??
GetWorld()->GetFirstPlayerController()->ConsoleCommand(“quit”);
I’ve just started to look into C++ with UE4 so assume I don’t know anything!
Is there an altenative to the following line where I don’t need to use ConsoleCommand??
GetWorld()->GetFirstPlayerController()->ConsoleCommand(“quit”);
I’ve just started to look into C++ with UE4 so assume I don’t know anything!
There are a couple of ways to do this, you can get more info by checking out this forum post: