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

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

281. LayaAir开发笔记(1)五十音图连连看 [ 49%]

...对错,用winCount记录成功对数,当成功数达到12时,停止timer计时,游戏结束,输出得分(100-时间经过-出错次数)。另一个数组是button,负责输出片面的假名,当卡片被点击时会变成红色,配错对会恢复黑色。button的内容是根据g...

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

282. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 49%]

...        // var vect = new Laya.Vector3(0.1,0.1,0);         // Laya.timer.loop(10,null,function(){         //     box.transform.rotate(vect,true,false);         // });                   2018-01-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

283. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 49%]

..."0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Resource.destroyUnusedResources(); }); } 当触发了释放资源的函数,会报错如下: laya.webgl.js:5713 Uncaught TypeError: Cannot read property '_targets' of null at WebGLC...

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

284. Mesh模型能否动态合并? [ 49%]

...nsform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //Laya.timer.frameLoop(1, this, function () { // layaMonkey.transform.rotate(this.rotation, false); //}); }这种是没法合并的吧!100个drawcall 2018-03-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自: 我的游戏比...

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

285. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

... Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += 0.05; } private onChange(value: number): void { console.log("进...

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

286. as编译器1.7.5beta的问题 [ 49%]

...穿透的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 关于Dialog遮罩层移除解决问题的说明 问题状态 最新活动: 2017-06-26 21:05 浏览: 1006 关注: 3 人 cuixueying • 2017-06-27 10:54 你参照上面开发者的做法,在自变量参数...

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

287. laya.ui.Slider_API3.0 [ 49%]

...Rect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains c...

来源: Laya3.0_api 发布时间: 20231115

288. laya.ui.Label [ 49%]

...改文字样式,建议使用此接口,能提高效率。 Label clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number,...

来源: Laya2.0_api 发布时间: 20190513

289. laya.ui.ScrollBar [ 49%]

...显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Numbe...

来源: Laya2.0_api 发布时间: 20190513

290. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 49%]

...a.Vector3(); var color = new Laya.Vector4(0, 1, 0, 1); var index = 0; Laya.timer.frameLoop(1, this, function () { index +=1; layaMonkey.meshRender.material.transformUV.offset = new Laya.Vector2(index 0/100.0, index 0/100.0);     layaMonkey.active = !debugModel;     layaMonkey.transform.rotate...

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