大约有 1,451 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(932) Laya2.0_文档(177) Laya_示例(132) Laya2.0_示例(115) Laya3.0_api(61) Laya3.0_文档(32) laya_api(1) Laya2.0_api(1)
...3D=null; Laya.timer.loop() 报错 Cannot read property 'loop' of null Laya.stage报null 问题状态 最新活动: 2018-01-27 15:19 浏览: 2146 关注: 2 人 helegame • 2018-01-29 20:26 好 谢谢 ssss111 • 2018-03-28 20:47 没显示图片呢,也预加载了 helegame • 2018-01-27 15:02 使...
来源: Laya_社区 发布时间: 20180126
...过2048导致引发上面的问题 this.mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");
来源: Laya_社区 发布时间: 20180713
请问键盘事件对方向键没有起作用,是怎么回事? Laya.stage.on(Event.KEY_PRESS,this,keypressHandler); private function keypressHandler(evt:Event):void { trace("键盘事件=keyCode="+evt.keyCode); } 键盘字母区和数字区有输出,上下左右方向键没有,是什么情...
来源: Laya_社区 发布时间: 20180305
...ventional/scene.ls',Handler.create(this,function(scene:Scene3D):void{ Laya.stage.addChild(scene); })); ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...640,1136,'#ff0000'); container.size(640,1136) Laya.stage.addChild(container); var bg2Sprite = new Sprite(); bg2Sprite.graphics.drawRect(0,0,640,1136,'#ff0000'); bg2Sprite.size(640,1136) container.hitArea ...
来源: Laya_社区 发布时间: 20170223
...xtWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrol...
来源: Laya3.0_api 发布时间: 20231102
...aya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runt...
来源: Laya_社区 发布时间: 20190711
...Click函数中写以下代码 var testView:TestView = new TestView(); Laya.stage.addChild(testView); 其实你也可以创建一个UI示例项目看下里边是怎么调用的 2017-06-29 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...
来源: Laya_社区 发布时间: 20170629
...extArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea =...
来源: Laya3.0_api 发布时间: 20231115
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...
来源: Laya3.0_api 发布时间: 20231115