大约有 1,799 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0155 秒)
Laya_社区(1186) Laya2.0_api(183) laya_api(162) Laya3.0_api(119) Laya2.0_文档(51) Laya_示例(41) Laya2.0_示例(35) Laya3.0_文档(22)
...汗! 代码如下: //自定义路径 var path:Array<any> = [ ["moveTo", 0, 0], ["arcTo", 100, 0, 100, 1, 10], ["arcTo", 100, 50, 99, 50, 10], ["arcTo", 0, 50, 0, 4...
来源: Laya_社区 发布时间: 20170320
...("?")!=-1) { var ary:Array = params.split("?"); var str:String=ary[ 1 ]; } else { str=params; ...
来源: Laya_社区 发布时间: 20200217
...时,用mouseHandler;你可以使用,自定义数据结构来填充list.array,会相当方便;填充item时,不需要所有属性都跟你的数据结构匹配上,多余的属性即便未设置也不会引发异常;list外面嵌套plane的话,能解决很多问题;list数据结构更新...
来源: Laya_社区 发布时间: 20180407
...整下就行了: function showui() { showui.super(this); var arr2 = new Array(); arr2.push(this.dimg); this.dimg.on(Laya.Event.CLICK, this,apeclick2, arr2); } function apeclick2(that) { console.log("apeclick sucess"); that.skin = "../img/5.jpg"; console.log(that); that.zOrder = 1; } 2017-02-18 1 0...
来源: Laya_社区 发布时间: 20170217
...效全无 请教下微信小游戏的内存和数据缓存? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 打包android版本 ...
来源: Laya_社区 发布时间: 20180211
...关的链接 提交 3 个回复 185*****013 赞同来自: 卡布 var arr:Array = target["_aniList"]; for each(var an:FrameAnimation in arr) { if(an.name=="show") { an.play(); } } 2019-02-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例 .show.play(0) 就行...
来源: Laya_社区 发布时间: 20190215
...0的图,因为比较大,没有打图集,单独加载,但是 var resArray:Array<any>=[ {url:"h5/UI.atlas",type:Laya.Loader.ATLAS}, {url:"h5/UI/so_main_base.png",type:Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray,Laya.Handler.create(this,initUI)); 单图就是so_ma...
来源: Laya_社区 发布时间: 20180626
... case "touchmove": var touchemoves:Array = evt.targetTouches; if(!touchemoves)break; for (j = 0, n = touchemoves.length; j < n; j++) { _this.initE...
来源: Laya_社区 发布时间: 20170510
...,快一点,但是比起WEB 还是慢了7倍以上。 var loadList: Array<string> = [];//70张图片 for (let i = 1; i < 70; i++) { loadList.push("resources/test/a ("+i+").png"); } let nt = Date.now(); ...
来源: Laya_社区 发布时间: 20240628
...吗? 怎样解决? laya2.0调试时候Error: "abort Cannot enlarge memory arrays.这个问题定位到了Physics3D,要怎么解决呀 uncaught error: laya3d: unknown mesh version 问题状态 最新活动: 2019-07-31 16:17 浏览: 783 关注: 4 人 鹏鴥的fly • 2019-07-31 18:28 谢谢大佬,...
来源: Laya_社区 发布时间: 20190725