大约有 1,155 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0050 秒)
Laya_社区(864) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(35) laya_api(2) Laya2.0_api(2)
... if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, th...
来源: Laya_社区 发布时间: 20171201
...请: 与内容相关的链接 提交 1 个回复 cry_11858 赞同来自: this.list_xxx.renderHandler = this.list_bag.renderHandler || new Laya.Handler(this, this.updateList); ActivityXXXXXUI.prototype.updateList = function(cell, index) { var info = cell.dataSource; ...
来源: Laya_社区 发布时间: 20170808
... let mesh = Sprite3D.load('resources/shuipao.lh'); this.addChild(mesh); mesh.on(Event.HIERARCHY_LOADED, this, this.OnHierarchyLoaded); let ani_names = this.ani_names; let anies = this....
来源: Laya_社区 发布时间: 20170608
...300, 200, 50, 50, "#000"); Block.pos(300, 100); Block.on(Event.MOUSE_DOWN, this, function() { console.log(1); }); 点击无效,但我给用 Laya.stage.on(Event.MOUSE_DOWN); 是有效的 什么原因了?谢谢解答 2017-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170324
...div容器 二、接着是构造函数: constructor() { Laya.init(1, 1); this.init(); // 使用高精度位置 Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaidu...
来源: Laya3.0_文档 发布时间: 20240910
...phics.drawRect(0,0,300,300,"#FFFF00"); sp.size(100,100); sp.on(Event.CLICK,this,onClickSp); Laya.stage.addChild(sp); var spchild:Sprite=new Sprite(); spchild.graphics.drawRect(0,0,200,200,"#FF0000"); spchild.size(200,200); spchild.on(Event.CLICK,this,onClickSpChild); sp.addChild(spchild); } private ...
来源: Laya_社区 发布时间: 20170918
...反映啊 var JiHuo = (function (_super) { function JiHuo() { JiHuo.super(this); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, processHandler)...
来源: Laya_社区 发布时间: 20180419
...: 2018-11-30 18:25 浏览: 1281 关注: 1 人 苏栢 • 2019-02-16 16:24 (this.player.getComponent(playerScript) as playerScript).destroy(); 或者 this.player._destroyComponent(this.player.getComponent(playerScript));
来源: Laya_社区 发布时间: 20181125
...8:04 浏览: 4035 关注: 2 人 riven • 2017-06-01 18:38 能直接监听 this.on("touchmove", this, this.onMouseMove)?
来源: Laya_社区 发布时间: 20170601
...31703/com.mihe.carrom I/LayaBox: alert=apploader.js:4515: TypeError: this._nativeObj.addGlobalValueDefine is not a function return this._nativeObj.addGlobalValueDefine(modifyType, type, size, defaultData); ^^ ...
来源: Laya_社区 发布时间: 20190307