大约有 648 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(220) Laya3.0_api(162) laya_api(107) Laya2.0_api(99) Laya3.0_文档(31) Laya2.0_文档(16) Laya2.0_示例(9) Laya_示例(4)
...Right.bottom+100; } //事件注册 //开始游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Log...
来源: Laya_社区 发布时间: 20180810
...iew.m_jump.onClick(this, this.onJump) this.view.m_left.on(Laya.Event.MOUSE_DOWN,this, this.onleft) this.view.m_left.on(Laya.Event.MOUSE_UP,this, this.notleft) this.view.m_right.on(Laya.Event.MOUSE_DOWN,this, this.onright) this.view.m_right.on(Laya.Even...
来源: Laya_社区 发布时间: 20221207
...All Classes | Index | Frames No Frames Scene3DProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
...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
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 laya针对页游耗用内存大的问题是如何解决的? unity导出粒子文件问题 请问LayaAir中如何使图片以圆形的方式显示? LayaAir3D UnityPlugin 使用须知-版本更新-问题...
来源: Laya_社区 发布时间: 20200810
...Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @author */ public class Socketmanger{ private static var _I:Socketmanger; publ...
来源: Laya_社区 发布时间: 20170724
...id { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.data)); }); hr.send(url, JSON.stringify(data), 'post', 'text', ['content-type', 'application/json;charset=UTF-8', "ses...
来源: Laya_社区 发布时间: 20190829
...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
...andler 怎么获取条目 怎样获取浏览器地址传过来的GET参数 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-10-11 15:01 浏览: 1631 关注: 3 人 fengzv • 2018-10-11 18:01 因为加载完又给清除了,所以获取不到。我设...
来源: Laya_社区 发布时间: 20180816
....create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loadedMap); } 另外就是加载的时候,不缓存资源,就不能读取...
来源: Laya_社区 发布时间: 20171227