JSBinding / Run Samples
2024-10-19 12:48:02
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:
- Click menu Assets | JavaScript | Gen Bindings
- Open scene JSBinding/Samples/2048/2048.unity.
- Click play button and enjoy it!
back to JSBinding / Home
最新文章
- sublime package control 被墙的解决方法
- bigworld源码分析(5)——BaseApp分析
- FreeBSD_11-系统管理——{Part_4 - 内核参数定制}
- html --- canvas --- javascript --- 拖拽圆圈
- mahout 运行Twenty Newsgroups Classification实例
- Java 8: Lambdas和新的集合Stream API
- java泛型小总结
- 浅谈C#中的泛型
- Git使用总结-so easy
- ECOS运行环境安装(一)
- 正则抓取网页所有href和src
- spring配置文件一般结构
- bzoj 2763 [JLOI2011]飞行路线 Dijikstra 分层
- 关于 Mybatis 设置懒加载无效的问题
- MongoDB的存储结构及对空间使用率的影响
- git 操作命令详解
- 在sparkStreaming实时存储时的问题
- JS取出两个数组中的不同或相同元素
- 【blog】批量删除时,guava Splitter与Java String的split 方法有什么区别
- JavaScript(数组、Date、正则)