This document shows you how to run JSBinding 2048 sample in Editor.

First of course, create an empty project and import JSBinding package.

In Build Settings dialog, switch platform to PC, Mac & Linux Standalone.

If you are on Windows, you have to copy DLL to unity install directory:

  • for 32bit editor: copy Assets/Plugins/x86/mozjs-31.dll to UnityInstallDir/Editor folder
  • for 64bit editor: copy Assets/Plugins/x86_64/mozjs-31.dll to UnityInstallDir/Editor folder

If you are running Windows exe, you have to copy(or move) mozjs-31.dll to the folder containing .exe.

Follow these steps:

  1. Click menu Assets | JavaScript | Gen Bindings
  2. Open scene JSBinding/Samples/2048/2048.unity.
  3. Click play button and enjoy it!

back to JSBinding / Home

最新文章

  1. sublime package control 被墙的解决方法
  2. bigworld源码分析(5)——BaseApp分析
  3. FreeBSD_11-系统管理——{Part_4 - 内核参数定制}
  4. html --- canvas --- javascript --- 拖拽圆圈
  5. mahout 运行Twenty Newsgroups Classification实例
  6. Java 8: Lambdas和新的集合Stream API
  7. java泛型小总结
  8. 浅谈C#中的泛型
  9. Git使用总结-so easy
  10. ECOS运行环境安装(一)
  11. 正则抓取网页所有href和src
  12. spring配置文件一般结构
  13. bzoj 2763 [JLOI2011]飞行路线 Dijikstra 分层
  14. 关于 Mybatis 设置懒加载无效的问题
  15. MongoDB的存储结构及对空间使用率的影响
  16. git 操作命令详解
  17. 在sparkStreaming实时存储时的问题
  18. JS取出两个数组中的不同或相同元素
  19. 【blog】批量删除时,guava Splitter与Java String的split 方法有什么区别
  20. JavaScript(数组、Date、正则)

热门文章

  1. hdu 1025 dp 最长上升子序列
  2. 关于netbeans中的JComboBox(复选框)
  3. adaboost算法
  4. 控制HTML的input控件的输入内容
  5. Ubuntu 启动黑屏解决
  6. socket编程(Linux)
  7. HDU 5820 (可持久化线段树)
  8. bzoj4034 (树链剖分+线段树)
  9. python 各种控制语句
  10. Ensemble Approaches分类技术