大约有 2,539 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0104 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...nd.alone.version/lib ... 189:61) 05-18 09:55:36.987: I/0(27649): at EventHandler.__proto.runWith (http://stand.alone.version/libs/laya.core.js:726:27) 05-18 09:55:36.987: I/0(27649): at ResInfo.__proto.event (http://stand.alone.version/libs/laya.core.js:494:28) 05-18 09:55:36.987: I/0(...
来源: Laya_社区 发布时间: 20190518
...(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = fu...
来源: Laya_社区 发布时间: 20170725
...uv不一致) 有方法可以解决,但比较麻烦, 1. 监听laya.events.Event.RECOVERED,监听纹理合并结束的消息,再创建custom sprite 2. 关闭纹理的自动图集合并 如果想看到正常的图片,可以修改一下代码 在你的sprite中,把uv设置修改为te...
来源: Laya_社区 发布时间: 20170904
...quest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // priva...
来源: Laya_社区 发布时间: 20180629
...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:713:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:28) at LoaderManager.__proto._end...
来源: Laya_社区 发布时间: 20171226
...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
...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440) at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702) at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495) at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...
来源: Laya_社区 发布时间: 20170522
...xt.borderColor = "#fa1515"; this.txt.overflow = "scroll"; this.txt.on(Laya.Event.MOUSE_DOWN, this, this.startScrollText); } /* 开始滚动文本 */ startScrollText() { prevX = this.txt.mouseX; prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.E...
来源: Laya3.0_文档 发布时间: 20251010
...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...
来源: Laya_社区 发布时间: 20171011
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class Sprite3DLoad { public function Sprite3DLoad() { Laya3D.init(0, 0, true); Laya.stage.s...
来源: Laya_示例 发布时间: 20251218