I am reading a book from Packtpub and it shows:
void OnMasterServerEvent(MasterServerEvent.HostListReceived)
{
loading = false;
}
When I type this method in Visual Studio I get and error based on the HostListReceived.
I have looked in the scripting reference and from what I see I havent done anything wrong.
I do have unityengine referenced