In the official Unity documentation, it says that after creating a WebGL instance, you can send message to the build with myGameInstance.SendMessage()
or access the build Module object with myGameInstance.Module
.
SendMessage() is simple enough, you can call a function from a game object from the browser. But I have no idea and have not found any clue whatsover what myGameInstance.Module is. What does it mean by accessing a build module object? What type of things can you do with that command? Can it for example determine whether a game scene is fully loaded or not from the browser side?
I am using Unity 2020.3 LTS and any information on this would be greatly appreciated!