大约有 732 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(366) Laya_示例(77) Laya2.0_示例(64) Laya3.0_api(63) Laya2.0_api(58) laya_api(53) Laya2.0_文档(37) Laya3.0_文档(14)
...3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:18511:31) at Stage.__proto.addChild (file:///D:/H5/bin/libs/laya.core.js:13290:9) at SceneManage.createScene (file:///D:/H5/bin/js/bundle.js:26107:20) at BattleLoading.<anonymous> (file:///D:/H5/bin/js/bundle.js:18082:57) a...
来源: Laya_社区 发布时间: 20190222
...用户 • 2018-08-19 13:14 请问一下为什么在 fixedwidth模式下,stage 414*800,浏览器的height 500 我设置一个红点的y位500, 却显示的不在最底部,而是在底部上面的位置,不同机型位置还不一样。 m1248799598 • 2018-03-17 14:11 新版本什么时候...
来源: Laya_社区 发布时间: 20180316
....width, Laya.Browser.height, Laya.WebGL); var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.loadImage("res/img/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数传到Function...
来源: Laya_社区 发布时间: 20180621
...毕,此方法只执行一次 */ onAwake(): void { this.txtarea.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.height/2); //轴心点 this.txtarea.text = "大家好,欢迎各位...
来源: Laya3.0_文档 发布时间: 20251010
...添加下面的方法, 一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用;...
来源: Laya_社区 发布时间: 20170323
... 请问layaair2.0-js 怎么用程序在list中添加多元素的item 修改stage的scale后,会发生异常情况 请问如何让textinput组件输入密码的时候显示*号? unity到导出场景加载时抛异常,不知所措 开启CastShadow以后,模型会莫名其妙消失,物体渲...
来源: Laya_社区 发布时间: 20210412
...体 Laya.Physics.rayCast(ray, hit, 1000); } Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; }else{ str = hit.sprite3D.name + " ...
来源: Laya_社区 发布时间: 20170915
...rite:Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); ...
来源: Laya_社区 发布时间: 20180529
...i = new Laya.Animation(); roleAni.loadImages(); roleAni.play(); Laya.stage.addChild(roleAni); 这样就会报路劲错误 var urls = [ 'img/food/f1.png', 'img/food/f2.png', 'img/food/f3.png', 'img/food/f4.png', 'img/food/f5.png', 'img/food/f6.png', 'img/food/f7.png', 'img/food/f8.png', ...
来源: Laya_社区 发布时间: 20170718
...展示界面 Laya.init(scronw, scronh) //设置舞台背景色 Laya.stage.bgColor = '#999999'; //设置适配模式 Laya.stage.scaleMode = "exactfit"; // 无加载失败重试 Laya.loader.retryNum = 0; //加载的数据信息 https://layaair.ldc.layabox.co ... oader var...
来源: Laya_社区 发布时间: 20171024