IsLoaded function for Browsercommunication?

Hi,
is there any function that provides the isLoaded state for the unity webplayer useable for jQuery?
Kind regards

1 Answer

1

http://docs.unity3d.com/Documentation/Manual/UnityWebPlayerandbrowsercommunication.html

Pay special attention to the section “Calling web page functions from Unity web player content”.

Hi merry, thx for responding. I actually know this send message function, but it's not what I'm searching. I want to track the loading process if programm has finished the inital load (let's they after onInitial is done)!

–

If I understood correctly then you would like the web browser to know when the first level/menu of the game has loaded, right? This will help you get the level load progress: http://docs.unity3d.com/Documentation/ScriptReference/Application.GetStreamProgressForLevel.html This should be all that you need to call a javascript function on your webpage once the first level has finished loading.

–

the thing is, I want to check out of the browser if the unity-object is loading all these functions just works out of unity

–

but whats about UnityObject2, aren't there any values stored? Whats about the firstFrameCallback? There is no topic in the documentation that speaks about it...

–

the problem with your last solution is that if you do an externalCall, the browser (javascript) does not know what unity-object just fires that command. Imagine you have multiple unityobjects on screen..

–