大约有 1,489 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1084) Laya3.0_api(156) Laya2.0_api(101) laya_api(89) Laya2.0_文档(31) Laya3.0_文档(23) Laya2.0_示例(3) Laya_示例(2)
...aScript中调用方式: conchMarket.login([参数], [回调函数]) ; var sData={type:"test"}; conchMarket.login(JSON.stringify(sData),function(data){ console.log(data); // 数据处理. });conchMarket是通过二次开发教程里的方式实例化吗?采用call(login, callback)的方式调用?...
来源: Laya_社区 发布时间: 20170711
...是setJson会失效。 var cacheName=LocalStorage.getItem("data");//这里看到有内容 var data=LocalStore.getJson("UserNameAndPwd");//这里返回undefined 请问,LocalStore.setJson有什么限制吗? 2018-04-26 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20180426
...自: 是发现了bug 你可以在laya.d3.js的第4870行修改为 (data.isKinematic != null) && (this.isKinematic = data.isKinematic); 感谢您反馈的bug 2020-08-20 0 1 分享 微博 QZONE 微信 qzzz 赞同来自: 测试包 TEST_COLLIDER2.6_.0_.zip TEST_COLLIDER2.7_.0_.zip ...
来源: Laya_社区 发布时间: 20200820
...R: string = "io-error"; /** 数据*/ public static DATA: string = "data"; constructor(decorate?:Decorate) { super(); this.mDecorate = decorate || new Decorate(this); this.pomelo = new Pomelo(); ...
来源: Laya_社区 发布时间: 20161109
...json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json firstGame.max.js:9742 XMLHt...
来源: Laya_社区 发布时间: 20170108
...mlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("data.xml"); trace(xml); } } }运行效果如下: 2016-...
来源: Laya_社区 发布时间: 20160914
...an[override] IndexBuffer3D destroy():void[override] IndexBuffer3D getData():Uint16Array 获取索引数据。 IndexBuffer3D setData(data:*, bufferOffset:int = 0, dataStartIndex:int = 0, dataCount:Number = 4294967295):void 设置数据。 IndexBuffer3DPublic Constants ConstantDefined By ...
来源: Laya2.0_api 发布时间: 20190513
...(gulpDir, cmd,{silent: true})>>compile_temp.js echo fork1.stdout.on("data", (data) =^> {>>compile_temp.js echo let str = String(data)>>compile_temp.js echo console.log(str)>>compile_temp.js echo if(str.match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo ...
来源: Laya_社区 发布时间: 20200325
...数没有效果 spine中定义的回调方法中设置int值,回调中 data的intValue 没有改变都是0,spine 输出文件见附件 sk_timelimit.on(Laya.Event.LABEL,this,this.animLabel); private animLabel(data:any) { } var str = "readyGO1"; sk_view.sk_timelimit.play(str,false); 附件 :...
来源: Laya_社区 发布时间: 20180531
...执行一次 onAwake(): void { //初始化树状列表的数据源 let treeData: string = "<data>"; //给Tree列表赋值 treeData += "<dir label='box1' isOpen='true'>" + "<file label='child1 ' />" + "<file label='child2 ' />" + "<file label='child3 ' />" + "<file la...
来源: Laya3.0_文档 发布时间: 20251010