Why wee change this

FString HiddenWord = "cake"; to HiddenWord = "cake";  ???

To make it a member variable so it can be accessed across all member functions as it now stored within the UBullCowCartridge object and not a local variable.

Privacy & Terms