上一页 1 2 3 4 5 6 ··· 8 下一页

2016年10月26日

Bridge.NET

摘要: 块作用域闭包问题 结果正确:1 容易引入JSB:1 1 public class Program 2 { 3 static List<Action> createActions() 4 { 5 List<Action> arr = new List<Action>(); 6 for (int i = 阅读全文

posted @ 2016-10-26 12:25 AnswerWinner 阅读(481) 评论(0) 推荐(0) 编辑

2016年7月7日

JSBinding / Testing

摘要: Unity version compatibilities 5.3.5 5.2.0 5.1.5 5.0.4 4.7.2 4.7.0 4.6.9 4.6.0 4.5.5 Platform compatibilities Windows 32 editor 32 executable 64 editor 阅读全文

posted @ 2016-07-07 23:25 AnswerWinner 阅读(313) 评论(0) 推荐(0) 编辑

2016年7月6日

JSBinding / Plugins & Build Mozjswrap Library

摘要: There are 2 libraries in Plugins: mozjs-31. This is SpiderMonkey library, built from https://github.com/cocos2d/Spidermonkey (not Mozilla official rep 阅读全文

posted @ 2016-07-06 21:47 AnswerWinner 阅读(567) 评论(0) 推荐(0) 编辑

JSBinding / FAQ & Trouble Shooting

摘要: Q: Why javascript file extension is .javascript?A: Because Unity treats .js files as Unity script and will try to compile it. Q: Does JSBinging suppor 阅读全文

posted @ 2016-07-06 21:34 AnswerWinner 阅读(319) 评论(0) 推荐(0) 编辑

JSBinding / About 2048 sample

摘要: 2048 Source 2048 source code is here: https://github.com/gabrielecirulli/2048 Play here!http://gabrielecirulli.github.io/2048/ The code contains 2 par 阅读全文

posted @ 2016-07-06 16:14 AnswerWinner 阅读(428) 评论(0) 推荐(0) 编辑

JSBinding / About JSComponent and Serialization

摘要: About JSComponent JSCompnent is a normal Unity script. It inherits from JSSerializer and JSSerializer inherits from MonoBehaviour. When using c#, step 阅读全文

posted @ 2016-07-06 12:47 AnswerWinner 阅读(410) 评论(0) 推荐(0) 编辑

2016年7月5日

JSBinding / Code Snippets

摘要: new a gameobject & overloaded methds add/get c# component add/get javascript component define a javascript monobehaviour static methods & enum propert 阅读全文

posted @ 2016-07-05 17:40 AnswerWinner 阅读(393) 评论(0) 推荐(0) 编辑

2016年2月25日

JSBinding+SharpKit / 菜单介绍

摘要: 【JSB | Generate JS and CS Bindings】 生成绑定,即让 Js 和 Cs 互通。详情请看 JSBinding+SharpKit / 生成 JavaScript 绑定 【JSB | Add SharpKit JsType Attribute for all Structs 阅读全文

posted @ 2016-02-25 22:41 AnswerWinner 阅读(872) 评论(0) 推荐(0) 编辑

JSBinding + SharpKit / 编译 Cs 成 Js

摘要: 轻轻一点菜单:【JSB | Compile Cs to Js】 主要产出:StreamingAssets/JavaScript/SharpkitGeneratedFiles.javascript,你的所有逻辑代码都在这里 其他产出: Temp/AllInvocations.txt:记录所有逻辑代码对 阅读全文

posted @ 2016-02-25 22:32 AnswerWinner 阅读(1316) 评论(0) 推荐(0) 编辑

2016年1月5日

DuoCode测试

摘要: http://duoco.de/DuoCode 只能引用自己编译的DLL,不能引用外部DLL。这么做可以保证”代码编得过,就一定能跑“。SharpKit 遇到过这样的问题。在代码中使用了 list.Find,C#是编得过的,因为有引用 System.DLL,他里面的 List 类就是有 Find 函... 阅读全文

posted @ 2016-01-05 09:10 AnswerWinner 阅读(387) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航