将 UnityEngine 的代码导出到 JavaScript。就可以在 JavaScript 中使用 Unity 的功能。

如何导出?

将需要导出的类添加到 JSBindingSetting.classes 数组中,然后运行菜单 【JSB | Generate JS and CS Bindings】 即可。

建议是把 UnityEngine.dll 的所有类全部写进去,一次性全部导出,以后就不需要再逐个添加了。

不过以后真正运用到项目中,可能需要各自维护,因为每个项目的需求可能不同。

以后会考虑再增加反射调用,如果说游戏发布了,又需要用到之前没有导出的类,就会有用。

(这边是举例子 只添加一小部分类)

//
// JSBindingSettings.cs
//
public static Type[] classes = new Type[]
{
typeof(System.Diagnostics.Stopwatch),
typeof(Vector2),
typeof(Vector3),
typeof(GameObject),
typeof(UnityEngine.Object),
typeof(UnityEngine.MonoBehaviour),
typeof(UnityEngine.Behaviour),
typeof(UnityEngine.Component),
typeof(Debug),
typeof(Input), // .........
}

点击如下菜单可以自动生成JS绑定:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaYAAAC5CAIAAADs5AyuAAAgAElEQVR4nO2d6VdUV7qH9z/QnURj1KgJiVnG2J0EjMVKPggoijYCIlMxiJZihs697ZTEAXGKWuhNYjQxQSJiOzSCJc4xToiAIDIUxSwggqhR091J5eZ2rzt23w+n6pw9nqqiRqreZ73LVbXPHt49/Wrvc/BsdPhc3aGzNw+eqT1wprbwdM3+UzUFp6r3naj65kRVfmlVfmnl3tLKvaUVkuWpmjVa5d7SyvwTVfknq/JPXd93qqbgTG3huZsHztcf/K7x0MWmI1daiq62HS3vKK7oLK64VVLZdayqq6Syq6Syq6TiVnHFreKKzuKKzuJrknVIdrS842h5e9HVtqKrbUVlrUeutBy+bDp0sengd40HztcXnqsrOFNbcLpm36ma/FPX809U5ZdW7bU6r+62yL4+XvGV4dqXJeW7i8t2HS377MjlTw5f2vHHC/oD320tOL9537kN+WfX553J/vr0mj2nVu85teqLkx98cfLD3SdX7jq5cvfJD3adXOm0rVDsxIpdJ1Z8fmLF5yeWW6x0+eely3eWLt95fNnO48s+O77sM8Oyzwx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bPRgJzIbluIA4A6vix5+JS2rlZIQnONvByMuaFIp9OpLx+YVYagRJGIUcXJk54QSMZbeq7jwi1eAbHl8jMXtiD22T7Jk0VLTsl+4FTBVgOSP1RwdxDwPN6WPKHm2TN/RBkYc0MRCg0NFc0o6bp0jdArZyWPED17bvyxksf1jSt5NuSCEUVa6dQlT9mn0itFjopx1+AiycO/ix4QA4C78LrkEXPcbOY+scUnFb6KYpdWhlx8JcX+hYY1JXFrTUXyiMxpT/EayKVgN/O43hI+kaXT6kZeperIzZysI/2gllpO2pI8i2gStzr5G1vO9ploQE5kY26ugS0RANyO9yXPbObe4ObOH8FNbyWQvP2kZE3NKSVBqE6ntsojfBM9teQs3DBHKG/lTTdVCexeHsc3to427v+zD8KtIfZLHvPXN/Y8vmAbUPD4gn2CAwAewDckL4CARQ0AeBOQPA8DkgcA3gQkz8OA5AGANwHJAwAggADJAwAggADJAwAggADJAwAggADJAwAggADJAwAggADJAwAggADJAwAggADJAwAggBhCkmf7fUkAAADq+IbkEWeEiXQNJA8AAGfxAcmjXnLOvFCOfWEbAAAAxcSJE+2J5nXJY1/sxjt4wRIKkgcAAJ+JEyfao3reljy+jslnauGbXeIALdUzz7BTxOTzJuB1lADg10y0oh7NNyWPOHSGeL+xXWeekaeIweuaACAAmIihEs1nJc96RAJ/Y6t65hktcnCYFgD4P0NklTfIe3mqZ57x13VwmBYA+DND5F4ee26YXU9s1c88IyUPDtMCgABgqDyxNZvNan+XZ7lCn9GtfuYZLW1wmBYAABK+IXkAAAAeASQPAIAAAiQPAIAAAiQPAIAAAiQPAIAAAiQPAIAAAiQPAIAAwobkAQAA+B8geQAABBAcyQMAAPBjCMmj0Gg0wcHBEydOfPHFF4OCgp4HAGCIExQUNGzYsJEjR44cOXLYsGEjRowYNmzY8OHDn3766REjRowYMeIZf2fUqFFjx479f2XHF45Nz8CeAAAAAElFTkSuQmCC" alt="" />

生成完成后,会生成2部分代码。

一部分是 C# 代码,在文件夹 Assets/JSBinding/Generated/ 中(是由 JSBindingSettings.csGeneratedDir 变量指定的。可自行修改)

如下所示

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWcAAAF+CAIAAADRA0yJAAAgAElEQVR4nO2d+Vcb2aHn8+acOXNOzsyv3Wemk+60TWLT2Cy2aZeEVFpYZMkYYYwxqxcENGJfBNhtYxzAIJnF0MiNLVZjg9CCJLBeZ5vkTebMycu85EzeJD0vL52lezqZvKydvJd/YH4od6VcdVVaAYn6fk79ULq6detWSfVVqVT3o8+kp6e//vrrcrmcAgCACPgMUgMAEBV/TQ0AAIiE56kBAAAR8pl0AACIBqQGACA6kBoAgOj4a2rQNH3+/PlLQMD58+dpmt7HFwmApOIz6enpR48epWm6tLT0zJkzRUDAmTNnSktLaZo+evTofr9eAOw/n0lPT09LSysrK9PpdPt9eCYvOp2urKwsLS1tv18vAPafz6Snp3/hC1+oqKjY7wMz2amoqPjCF74Qdod+NjS7/2oCsBd8Jj09/bXXXquoqCgMDUVRr7766quvvkpRlEi1g01FRcVrr70Wdod+9rOf/SYJpAY4MDxPjYsXL4Y6Wk6dOlVSUmKxWCwWS0lJyYkTJ3bpsAwGg7vUckK4ePFi5KlhepF9T421tbV9XDs4YIRJjc9//vMlJSUXL140Go1Go/HixYslJSWvvPLK5z//+VdeeUWtVvPqB4PBYDDo9/sfPnwofv4SP3ucMlGlRoTnGmq1+s6dO4uLi0tLSxMTE0ajMfGvcHp6OlIDJJTnqVFeXl5A4pVXXmlpaens7Ozp6enp6enu7m5ra2tpaTGbzWaz+XOf+xyvfjAYLCgo0Ov1AwMDKysrxDYTBbOuPaO8vDyGcw2R1NDpdEy2njhxIisry2Aw9PT07MqLjNQACeV5aly4cIF4qLz00ktXr15tepFr166ZTKa6urqXXnqJV589kvV6fSAQYAuLioqsVuv29nZBQUFpaen8/Lzf75+fnzcajWwddtlz587NzMz4fL61tbW6ujqm0GAwjI+Pu93ulZWVa9euBTkkNBxCcuHChcSea4yOjlZUVBAbefPNN4eHhxcXF4eHh3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+v9/hcLAjU7mL9PX1OZ1Ol8tVX1/PFJpMpvX19a2tLZvNltAdBQB4TkSpkRBrBnuucePGjZmZGW4hFSI1xsbGBgcHaZo+e/assGYwGGxra1Or1XV1dRsbG0yh1+s1Go1qtbqnpyfR+woAQFExnGvEbM1grmsEAoHp6Wl2QJp4arhcLvaiLDE12A6z8w6HY2ZmpqmpiRlTDwBIOFFf14jZmkG8hMGNAKEmw+fzKZVKYU1hg+y8UqlsaGiYmJhYWFiIcZcAAESJ+jeUmK0Z4qlB1GTY7fb29naapq9cuRJhavT396tUquLiYlbbAwBILFHfrxGzNUM8NYiajJKSkpWVla2trdHR0QgvoFqtVq/X63Q6GxoaYtgdAICwEFIj2awZMpns8uXLjx49SkhrAIA4ifqO8j22Zjidzp2dneXl5bKysvhbAwDED8a8AgCiA6kBAIgOpAYAIDrg1wAARAf8GgCA6NhnvwYAIOXYO7+GTqebmJjweDw+n89ms7H/3goASC32zq/hcDja29tVKpVSqaysrJydnd27rQQAJI6982tsbW2xf7PIJRgMyuXy0dHR7e1tiqJomh4eHna5XEtLS1VVVbu8+QCAqNk7v0ZbW9vm5qbNZuvu7tbr9Wx5MBhsaWnRarXMw5GRka6uLpqmdTod+xfQAIDkYe/8GhRFFRQUmM3moaGh5eVl9roGb1Sb2+0WXkwBACQPe+fX4KLVan0+HzMvTA3x4XMAgP1l7/wa8/PzVVVVSqVSpVJ1dnbOzc0x5bzUsFqtZrNZoVDodLqxsbHd2WoAQOzsnV/DYrHMz88HAgG3222z2YQSQAaNRmO1Wj0ez9raWmtra6K3FwAQLyng1wAAJBXJ7tcAACQbGPMKAIgOpAYAIDqQGgCA6Pj/ebfZnbdZ4FsAAAAASUVORK5CYII=" alt="" />

另一部分是JS代码,这部分代码都在这个文件里面,(接近1M):

StreamingAssets/JavaScript/GeneratedFiles.javascript

当 JS 引擎启动时会加载这个文件。

返回:Unity代码热更新方案 JSBinding + SharpKit 首页

JSBinding + SharpKit / 生成JavaScript绑定的更多相关文章

  1. JSBinding+SharpKit / 菜单介绍

  2. Unity代码热更新方案 JSBinding + SharpKit 首页

    目前Unity的代码更新方案有很多,主要以lua为主. JSBinding + SharpKit 是一种新的技术,他做了两件事情: JSBinding将C#导出到 JavaScript (引擎是 Mo ...

  3. JSBinding + SharpKit / JavaScript 加载流程

    首先,现在的方案是游戏启动就加载全部的 JavaScript 代码. 先看下 StreamingAssets/JavaScript/ 文件夹下的目录结构:

  4. JSBinding+SharpKit / JavaScript调试

    注意: 1 Firefox 的版本用41 2 我发现调试很难用的,现在我都用打印 步骤参考图:

  5. JSBinding + SharpKit / 原理篇:Delegate

    以 NGUI 的 UIEventListener 为例: 有一个类: using SharpKit.JavaScript; using UnityEngine; using System.Collec ...

  6. JSBinding + SharpKit / 需要注意及不支持的列表

    1) 序列化不支持 public List<T>,其余都支持(JSBinding+Bridge无此功能) 2015年11月5日 补充:序列化只处理 Field.目前发现 Animation ...

  7. JSBinding + SharpKit / 实战:转换 2DPlatformer

    最后修改:2015年07月29日 2016年2月25日 2DPlatformer 是 Unity3D 的一个官方 Demo.本文将介绍使用 JSBinging + SharpKit 转换 2DPlat ...

  8. JSBinding + SharpKit / 编译 Cs 成 Js

    轻轻一点菜单:[JSB | Compile Cs to Js] 主要产出:StreamingAssets/JavaScript/SharpkitGeneratedFiles.javascript,你的 ...

  9. JSBinding+SharpKit / 更新的原理

    首先,其实不是热更新,而是更新. 热更新意思是不重启游戏,但只要你脚本里有存储数据,就不可能.所以只能叫更新. 但大家都这么说,所以... 先举个具体的例子: 如果是C#:在 Prefab 的 Gam ...

随机推荐

  1. XAMPP启动mysql遇到的问题

    Version: '10.1.9-MariaDB' socket: '' port: 3306 mariadb.org binary distribution2016-07-18 10:42:04 1 ...

  2. ACM - KMP题目小结 (更新中)

    KMP算法题型大致有两类,一类是next数组的应用,一类是匹配问题. next数组大多数是求字符串周期,或者是与前缀后缀有关,也可以应用在DP中.需要对next数组有一定理解才能做得出. next数组 ...

  3. 2016-1-9 Quartz框架的学习,剪裁图片并设置边框

    #import "ViewController.h" @interface ViewController () @end @implementation ViewControlle ...

  4. ios应用数据存储方式

    一.ios应用常用的数据存储方式 1.plist(XML属性列表归档) 2.偏好设置 3.NSKeydeArchiver归档(存储自定义对象) 4.SQLite3(数据库,关系型数据库,不能直接存储对 ...

  5. @synthesize的使用

    利用@synthesize可以给在.m文件中给.h文件中的属性重新定义新的名称如 @synthesize firstname = anothername:firstname是在.h文件中定义的,新定义 ...

  6. BZOJ 2083 Intelligence test

    用vector,二分. #include<iostream> #include<cstdio> #include<cstring> #include<algo ...

  7. python3爬虫再探之EXCEL

    在爬取数据之后,数据的保存就成为一个新的问题,一般不太大的的数据存储到EXCEL就可以了.这里介绍一个python的第三方库——xlsxwriter. 这个库的安装就不介绍了,pip就可以,不用FQ. ...

  8. HTML中的鼠标光标属性

    在网页中默认的鼠标指针只有两种,一种是最普通的箭头,另一种是当移动到链接上时出现的“小手”.但现在越来越多的网页都使用了CSS鼠标指针技术,当将鼠标移动到链接上时,可以看到多种不同的效果.CSS可以通 ...

  9. iOS应用中通过设置VOIP模式实现休眠状态下socket的长连接

    如果你的应用程序需要在设备休眠的时候还能够收到服务器端发送的消息,那我们就可以借助VOIP的模式来实现这一需求.但是如果的应用程序并不是正真的VOIP应用,那当你把你的应用提交到AppStore的时候 ...

  10. ion torrent ion proton

    https://www.youtube.com/watch?v=6Is3W7JkFp8 NGS 的视频 说的不错 一个做癌症的教授讲的 Ion Torrent™ next-generation seq ...