I’m trying to call a function in the Unity from browser.
<script type="text/javascript" language="javascript">
<!--
function getUserLogin(VOID)
{
GetUnity().SendMessage("LoginGui", "GetUserLogin1", "Hello from a web page!");
}
</script>
The project unit has LoginGui object, it has a component LoginGuiComponent, which has GetUserLogin1(string login) method. How can I call it from javascript? Example not work.