大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0058 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...ines and the Terms & Conditions of the Apple Developer Program. - Once your app is fully compliant, resubmit your app for review. Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review t...
来源: Laya_社区 发布时间: 20171221
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
... "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); v...
来源: Laya_社区 发布时间: 20180725
...击任意地方恢复游戏"; pause(); Laya.stage.once(Laya.Event.CLICK, this, this.onStageClick); } _proto.onStageClick = function(){ this.infoLabel.text = ""; resume(); } _proto.hp = function(value){ this.hpLabel.t...
来源: Laya_社区 发布时间: 20170416
...uestion/12349 这是官方提供的代码 微信主域代码: Laya.timer.once(400,this,function():void{ var rankTexture:Texture = new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTextu...
来源: Laya_社区 发布时间: 20180504
...ogressBar 的网格信息。 progressBar.changeHandler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行的处理器。 Laya.stage.addChild(progressBar);//将 progressBar 添加到显示列表。 Laya.timer.once(3000, this, changeValue);//设定 3000ms(毫秒)后,...
来源: Laya3.0_api 发布时间: 20231115
..."; text.font="hu" text.pos(600,600); Laya.stage.addChild(text); Laya.timer.once(1000,this,onLoop); } private function onLoop():void { var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="嘻嘻嘻嘻嘻"; text.font="hu" Laya.stage.addChild(text); } } } 注意: 首次用...
来源: Laya_社区 发布时间: 20160514
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: laya_api 发布时间: 20170929
...图集后,取图集内资源报错。 MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { trace("加载成功"); var c:...
来源: Laya_社区 发布时间: 20180830
...D if (!tex.getIsReady()) { tex.once(Event.READY, this, this.drawImage, [tex, x, y, width, height]); } 导致 tex 找不到 getIsReady 方法报错 报错堆栈 TypeError: tex.getIsReady is not a function at G...
来源: Laya_社区 发布时间: 20200417