• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 12 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0018 秒)

11. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 63%]

...ker. ``` 新建一个my_task.js文件,代码如下: ```typescript self.addEventListener('message', function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/...

来源: Laya2.0_文档 发布时间: 20210715

12. 微信小游戏加载资源问题 [ 34%]

...Type = function (value) { }; node.setFontFace = function (value) { }; node.addEventListener = function (value) { }; node.contains = function (value) { return null; }; node.removeChild = function (value) { }; return node; } static createShaderCondition(conditionScript) { var func = function () { retu...

来源: Laya_社区 发布时间: 20200103