unity export c# to html code example
Example 1: modify web page from unity from code
Application.ExternalCall( "SayHello", "The game says hello!" );
Example 2: modify web page from unity from code
<script type="text/javascript" language="javascript">
<!--
function SayHello( arg )
{
// show the message
alert( arg );
}
-->
</script>