UnityではJavaScriptとC#が扱えるのですが、 その言語間でデータのやりとりをしたい場合があります。 非常にわかりやすい例がありました。 http://www.41post.com/1935/programming/unity3d-js-cs-or-cs-js-access この例は変数を受け取っていたのですが、メソッド呼び出しもいけるようです。 以下は、メソッドを付け加えた例です。myJS.js ----------------------------------- public var message : String = "myJS is called"; public function showMessage() { print("showMessage(myJS.js) is called."); } ---------------------------------