Hi guys,
Im trying to Call a function just when the page loads, But It looks like is not possible, you have to wait till the plugin loads up and then call the function…
Is there a way to ask if the plugin loaded 100% from javascript on the web page?
cheers!
Juan Sebastian Muñoz
Correct, you do have to wait for the content to load, otherwise it’s not there to receive that function call. In-browser JavaScript can’t check for loading completion, but after loading you can have your Unity content call an in-page JavaScript function, thus indicating “loaded” status.
Check out Application.ExternalCall.