大约有 214 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0042 秒)
Laya_社区(96) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(10) Laya2.0_文档(4)
...en("./Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): voi...
来源: Laya3.0_文档 发布时间: 20251105
...veControl); //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame(); //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset); let partPath = "res/aixin_bao.part"; Laya.loader.l...
来源: Laya_社区 发布时间: 20190704
...透明遮盖层的,为什么我的就没有啊? this.btn_login.on(Laya.Event.CLICK,null,()=>{ var aDia:aDialog = new aDialog("登陆"); aDia.popup(true); Laya.stage.addChild(aDia); }) 附件 : --> 2017-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20171217
...ses | Index | Frames No Frames EffectAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果...
来源: Laya2.0_api 发布时间: 20190513
... Classes | Index | Frames No Frames RadioGroupProperties | Methods | Events Packagelaya.uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次...
来源: laya_api 发布时间: 20170929
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite...
来源: Laya_社区 发布时间: 20170209
...(LearnGlowFilter.ts:15) at GameUI.onTipClick (GameUI.ts:36) at EventHandler.__proto.runWith (laya.core.js:1399) at Label.__proto.event (laya.core.js:1156) at TouchManager.__proto.sendEvents (laya.core.js:11253) at TouchManager.__proto.onMouseUp (laya.core.js:11412) ...
来源: Laya_社区 发布时间: 20181119
... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 问题状态 最新活动: 2018-04-24 11:07 浏览: 1144 关注: 2 人
来源: Laya_社区 发布时间: 20180411
...s or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its chi...
来源: Laya_社区 发布时间: 20250825
...te3D.addComponent(Laya.Rigidbody); //添加键盘事件 Laya.stage.on(Laya.Event.KEY_DOWN, this, onKeyDown); this.collider = this.scene.getChildByName("Collider"); this.collider.active = false; //是否开启debug模式 Laya.stage.on(Laya.Event.MOUSE_UP, this, drawCollider); } function onKeyDown(e) ...
来源: Laya_示例 发布时间: 20260106