大约有 827 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0084 秒)
Laya_社区(668) Laya2.0_文档(61) Laya_示例(34) Laya3.0_文档(30) Laya2.0_示例(30) Laya3.0_api(3) Laya2.0_api(1)
...elapsedTime=clipDuration; playState._normalizedPlayTime=1.0; if (scripts){ for (var i=0,n=scripts.length;i < n;i++) scripts[i].onStateExit(); } return; } 2019-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回...
来源: Laya_社区 发布时间: 20190112
[BUG]大量调用 graphics.drawCircle 导致错误 代码: for (var i = 0; i < 500; i++) { var Sprite = new Laya.Sprite(); Sprite.graphics.drawCircle(Math.random() * 500, Math.random() * 800, 50, "#666666", "#555555", 5); Laya.stage.addChild(Sprite) } 其他: Laya.init(Laya.Browser.width, Laya.B...
来源: Laya_社区 发布时间: 20171005
... */ private aniUrls(aniName:string,length:number):any{ var urls:any = []; for(var i:number = 0;i<length;i++){ //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("role/"+aniName+i+".png"); } return urls; } } new AtlasAniDemo(); ``` 代码运行效果如动图9所示...
来源: Laya2.0_文档 发布时间: 20210715
...ateEvent(specialEvents[type] || 'Events'), bubbles = true if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]) event.initEvent(type, bubbles, true) // 这行就是那个报错的那行 如何解决呢 return compatible(eve...
来源: Laya_社区 发布时间: 20170301
...自: 可以给你的按钮声明name,譬如btn_1,btn_2。。。。通过for循环和getChildByName给你的所有按钮添加点击事件! 2017-09-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 l329303161 相关问题 Dialog:屏...
来源: Laya_社区 发布时间: 20170926
...昨天弄了一下午都不行,然后又出现了个新问题: 我用for添加了5个按钮 和 事件 ,点击的结果全是一样的,感觉都被覆盖为最后一次循环的内容,这是为何,我把它提出来单独写个类也是一样 这是游戏界面下面的是按...
来源: Laya_社区 发布时间: 20180911
... app by menans other than the in-app purchase API,which is not appropriate for the App Store . 我们注意到您的应用或其元数据可以通过除应用内购买API之外的其他手段购买应用中的内容,服务或功能,这不适用于App Store. 因为项目内没有接任何第三...
来源: Laya_社区 发布时间: 20180417
...tandardcore.cginc(196) (on d3d11) Compiling Vertex program with UNITY_PASS_FORWARDBASE DIRECTIONAL LIGHTPROBE_SH FOG_LINEAR Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY...
来源: Laya_社区 发布时间: 20200923
...是个剪裁的容器,没有list一样的handler函数,你自己通过for循环去修改对应item的属性值即可! cry_11858 • 2017-03-30 11:50 @cuixueying:谢谢
来源: Laya_社区 发布时间: 20170330
...r,toType) { //转为utf8编码字符串 let str = ''; for (var i = 0; i < arr.length; i++) { str += String.fromCharCode(arr[i]); } return toType === 'json' ? JSON.parse(decodeURIComponent(escape(str))) : decodeURIComponent...
来源: Laya_社区 发布时间: 20191211