Hello,
I am absolutely loving the course so far, but do not fully understand what’s going on in the below code:
void UBullCowCartridge::OnInput(const FString& Input) // When the player hits enter
I know this lesson is specifically made to explain this, but I still do not understand. What is it about this code, that specifically tells the computer to save the user input to the const Input ? Is this OnInput function written somewhere else, and we are just accessing it from outside? I cannot find it in the Unreal documentation
Would really appreciate an explanation,
thanks in advance!