大约有 2,541 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1918) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
....drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ```  (图1) ...
来源: Laya2.0_文档 发布时间: 20210714
...nimator) as Laya.Animator; //动画完成事件监听 this.roleAni.on(Laya.Event.COMPLETE,this,this.onComplete); } /*覆写3D组件更新方法(相当于帧循环)*/ public _update(state:Laya.RenderState):void{ //如果是攻击状态播放击球动画(优先播放击球动画) if(this.attac...
来源: Laya_社区 发布时间: 20171113
...roto._onVisibilitychange @ laya.js:4606 __proto.run @ laya.js:7475 __proto.event @ laya.js:322 visibleChangeFun @ laya.js:21598 2017-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你...
来源: Laya_社区 发布时间: 20171214
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115
...ackagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRender, TerrainRender, WaterRender Render 类用于渲染器的父类,抽象类不允许实例。 Public Propertie...
来源: laya_api 发布时间: 20170929
...pt extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event): void { // 尝试获取当前位置 Laya.Geolocation.getCurrentPosition( Laya.Handler.create(this, this.onSuccess), Laya.Handler.create(this, this.onError) ); console.log("click"); } // 成功获取位置后触发 onSu...
来源: Laya3.0_文档 发布时间: 20251010
...1:48:56.524 1040-1438/? D/PowerManagerService: userActivityNoUpdateLocked: eventTime=160233968, event=2, flags=0x0, uid=1000 06-09 11:48:56.524 1040-1438/? D/PowerManagerNotifier: onUserActivity: event=2, uid=1000 06-09 11:48:56.524 1040-1438/? D/PowerManagerService: updateUserActivitySummaryLocked:...
来源: Laya_社区 发布时间: 20170609
... aWidget.setPage("c1", 1); 控制器改变时有通知事件: c1.on(Laya.Event.CHANGED, ()=> { console.log(c1.selectedIndex); }); Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 18:58:09 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...gory=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_s...
来源: Laya2.0_文档 发布时间: 20210715
...Container.loadImage("res/guide/crazy_snowball.png"); gameContainer.on(Laya.Event.CLICK, this, this.nextStep); // 引导所在容器 guideContainer = new Sprite(); Laya.stage.addChild(guideContainer); guideContainer.cacheAs = "bitmap"; // 绘制遮罩区,含透明度,可见游戏背景 maskArea =...
来源: Laya2.0_示例 发布时间: 20251223