大约有 126 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0059 秒)
Laya_社区(73) Laya2.0_文档(16) Laya2.0_api(10) Laya3.0_文档(10) laya_api(8) Laya3.0_api(7) Laya2.0_示例(1) Laya_示例(1)
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close closeAll closeByGroup contains customRender destroy destroyChildren doClose doOpen drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt get...
来源: Laya3.0_api 发布时间: 20231115
...去加载分包和资源 ``` onConfigLoaded(): void { Laya.stage.on(Laya.Event.CLICK, this, this.toPage2) } toPage2(): void { my.redirectTo({ url: "/subpackage1/page2/index", success: function () { console.log("success") }, fail: function (err) { console.log("2222", err) } }) } ``` 注意:在加...
来源: Laya2.0_文档 发布时间: 20210715
...nifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的...
来源: Laya2.0_文档 发布时间: 20210715
...All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,...
来源: laya_api 发布时间: 20170929
...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
...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_文档 发布时间: 20241014
...题 ios原生回调问题 关于Dialog遮罩层移除解决问题的说明 event自定义事件的问题 问题状态 最新活动: 2018-08-16 20:39 浏览: 5141 关注: 3 人 kuma • 2018-07-24 19:47 现在的问题就是如果把微信的js文件引入到本地,在PC端的chrome中是能正确...
来源: Laya_社区 发布时间: 20180724
...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_文档 发布时间: 20250214
...mpents(this._allAgent, sprite.scene, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if...
来源: Laya3.0_文档 发布时间: 20250214
...bin-wrapper\node_modules\got\index.js:182:22) at Object.onceWrapper (events.js:300:26) at ClientRequest.emit (events.js:210:5) at TLSSocket.socketErrorListener (_http_client.js:406:9) at TLSSocket.emit (events.js:210:5) at emitErrorNT (internal/streams/destroy.js:92:8) ...
来源: Laya_社区 发布时间: 20200211