This is in Unity 4.
The following code gives me: Object # has no method ‘getObjectById’
function GetUnity() {
if (typeof unityObject != "undefined") {
return unityObject.getObjectById("unityPlayer");
}
return null;
}
Did something change in the new version? unityObject only provides javaInstallDone.