In lecture 45 there is a function which is executes whenever player hits enter, but it doesn’t seem to be working for me.
void UBullCowCartridge::OnInput(const FString& Input) // When the player hits enter
{
PrintLine("Clear Screen");
ClearScreen();
PrintLine("Cleared Screen");
FString HiddenWord = "HiddenWork";
}
I saved the code in file and then compiled too but it just won’t work or give out any error. Please help