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

大约有 223 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)

121. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 69%]

...我们看下简单的脚本怎么实现这种效果。 ```javascript var data = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL...

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

122. 最新版本IDE,如何获取http返回的json数据 [ 68%]

...his,errorHandler); xhr.once(Event.PROGRESS,this,processHandler);  var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData), "post", "json", ["content-type","application/json"]);     function processHandler(data){ console.log (data) } function completeHa...

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

123. 【LIST无法拖动】参照官方实例做的 [ 67%]

...     // 设置数据项为对应图片的路径         var data: Array<String> = [];         //解析二进制已获得关卡队列,先取有效位书          let s = json.my_guanqia.substr(0,this.default_guanqia.length);         data = this.fi...

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

124. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 67%]

...我们看下简单的脚本怎么实现这种效果。 ```javascript var data = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL...

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

125. List翻页效果 [ 67%]

...0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.h...

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

126. List翻页效果怎么实现 [ 67%]

...0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.h...

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

127. LayaNative 原生发布 APK Oppo R15 奔溃 其他正常 [ 67%]

...on: Didn't find class "demo.MainActivity" on path: DexPathList[[zip file "/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/base.apk"],nativeLibraryDirectories=[/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/lib/arm64, /data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/base.ap...

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

128. 小游戏真机调试3d资源不显示 [ 66%]

...long time:103 url=LayaScene_Ninja/Conventional/Ninja-cd389f8b07.lh GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataColor warning:the forth key is be force set to 1. Gradient:warning:data count must lessEqual than ...

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

129. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 66%]

...0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.h...

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

130. loader callback cost a long time:187 这个提示是因为什么? [ 65%]

...来自: loader callback cost a long time:2442 url=http://192.168.0.244/res/data/preLoad/HitNum/HitNum1/HitNum1.json 我也遇到了这个问题,,其他文件比他大,都比他快 这个文件才4.22 KB (4,325 字节) 2017-11-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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