大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...mainSound:Laya.SoundChannel = null; this.btn_sound.on(Laya.Event.CLICK,this,function(){ dreamsSound = null; if(mainSound == null){ Laya.loader.load("res/main.mp3",Laya.Handler.create(this,function(){ ...
来源: Laya_社区 发布时间: 20190716
...正常运行,为什么打包APK之后在手机上就连接不上socket event自定义事件的问题 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 关于shader中opengl函数问题 1.8.4版本打包vivo小游戏,只有个temprelease graphics alpha 问题 ...
来源: Laya_社区 发布时间: 20180709
...来自: 试试覆写 Script的onTriggerEnter方法。 或者侦听owner的 Event.TRIGGER_ENTER 事件。 然而你台球游戏不是应该设置好每个物体的刚体属性,质量,碰撞属性,摩擦力等,只需要给白球施加一个力就可以吗?为什么还要自己去计算反...
来源: Laya_社区 发布时间: 20190616
...与内容相关的链接 提交 1 个回复 嘿哈 赞同来自: 出错了:events.js:163 throw er; // Unhandled 'error' Error: Cannot find module '../../release/wxgame/js/bundle' from 'E:\layaSrc_200\laya200_test\xxxxxxx\src\gameParts' at D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-r...
来源: Laya_社区 发布时间: 20181024
...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
...useConstraint, ground, pyramid, ground2, pyramid2, rock, elastic]); Matter.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450,...
来源: Laya_示例 发布时间: 20260303
...nt, url);// 此处最好加延迟 //监听器注册 Laya.Browser.window.addEventListener("click", (event: any) => { console.log(event.type); }) Window.open() 方法、window.postMessage()方法、Window.addEventListener()方法 3.3 container 画布 LayaAir引擎里可以通过 Laya.Browser.contai...
来源: Laya3.0_文档 发布时间: 20251010
....engine.world, this.matterBody); this.matterBody.layaSprite = this; Matter.Events.on(GameMain.instance.engine, 'beforeUpdate', (()=> { console.log("update", this.x, this.y, this.width, this.height) }).bind(this)); } 第一个打印,this.height是没有形变时候的参数,只有执行了一...
来源: Laya_社区 发布时间: 20180530
...All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Scene Sprite Node EventDispatcher Object Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以...
来源: Laya2.0_api 发布时间: 20190513
...gelaya.d3.coreClasspublic class MeshRenderInheritanceMeshRender BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRender MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-on...
来源: laya_api 发布时间: 20170929