Last active
August 29, 2015 14:20
-
-
Save king-panda/029d403a5f568f583739 to your computer and use it in GitHub Desktop.
【Unity】WebGLからWebページ側の関数を呼び出す ref: http://qiita.com/kingpanda/items/a08b110c2bc3b1e416f1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var eve = "eve"; | |
function OnMouseDown(){ | |
Application.ExternalCall(eve); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function red(){ | |
alert("red"); | |
} | |
function blue(){ | |
alert("blue"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment