大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1513) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...BootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this.MyTab.selectHandler = new Laya.Handler(this, onSelect, null, false);//设置 tab 的选择项发生改变时执行的处理器。 console.log("A1...
来源: Laya_社区 发布时间: 20160722
...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2017-04-18 19:37 浏览: 1625 关注: 2 人 136*****931 • 2017-04-19...
来源: Laya_社区 发布时间: 20170418
...is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...件 tl.loadAnimation("XXXXX1.ani"); //添加到舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); qian • 2018-03-29 15:51 你传一下demo吧我看看 haisenshushu • 2018-03-29 15:57 怎么传啊?打包在哪里发给你呢@qian: qian • 2018-03-29 16:23 压缩然后...
来源: Laya_社区 发布时间: 20180329
...++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value= "+mDemoUi.m_list.scrollBar.value; } 如上所示,给list组件创...
来源: Laya_社区 发布时间: 20171016
... _shouAry[0] = myClone; _shouLayer.addChild(myClone); /////////////左手 var cloneShou:MeshSprite3D; cloneShou = _shou.clone() var leftAmn:Sk...
来源: Laya_社区 发布时间: 20170317
...后,怎么删除释放资源? var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawPie(0,0,50,0,160,"#122D3E"); 绘制完成以后,我怎么从舞台删除绘制的图形和释放Sprite相关资源? clear和removeChild???具体怎么操作? 2017-11-19 添加评...
来源: Laya_社区 发布时间: 20171119
...0 ); clickRect.size( Laya.stage.width, Laya.stage.height-100 ); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, changeVxVy ); } function changeVxVy( e ){ console.log( e.nativeEvent.offsetX ); console.log( e.nativeEvent.offsetY ); } 我设置了一个矩形,并给这个...
来源: Laya_社区 发布时间: 20180201
...内存吗?页面的时间轴动画会跟着被清空吗? 用Laya.stage.addChild(new testUI());后,原来让页面还在运行 问题状态 最新活动: 2018-12-21 15:55 浏览: 2206 关注: 2 人 layali • 2018-12-21 16:28 版本1.7.22,手机系统ios12.1,微信环境下。不是直接...
来源: Laya_社区 发布时间: 20181221
...相对于遮罩对象的,比如代码 var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); ape.pos(400,400); var sprite2 = new laya.display.Sprite(); sprite2.graphics.drawRect(0,0,50,50,"#fff9900"); ape.mask = sprite2; 你可以看下效果 2017-12-2...
来源: Laya_社区 发布时间: 20171221