大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
... laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu....
来源: Laya_社区 发布时间: 20161219
...摇报错,就解决方案 导微信小程序报错window.focus is not a function 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 微信小程序 发布后缺少app.json文件 问题状态 最新活动: 2020-03-30 17:55 ...
来源: Laya_社区 发布时间: 20190725
...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...
来源: Laya3.0_api 发布时间: 20231115
...,OnAnimation()); function OnAnimation():void{ _gameTableScene["donghua"+ transformToDesignIndex(msg.index)].visible =false; _gameTableScene["donghua"+ tran...
来源: Laya_社区 发布时间: 20180323
...fileRect()方法,具体行见截图 RenderContext类:this._drawRect=function(x,y,args){ var ctx=this.ctx; if (args[4] !=null){ ctx.fillStyle=args[4]; ctx.fillRect(x+ar...
来源: Laya_社区 发布时间: 20161210
...:-30}, 600, Ease.expoOut, Handler.create(this,onFloatComplete)); protected function onFloatComplete(callBack:Function):void { this.removeSelf(); } 我用这个缓动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结果执行次数很多之后,发现场景上有...
来源: Laya_社区 发布时间: 20170426
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function 关于龙骨动画转换 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2017-01-24 13:19 浏览: 1503 关注: 3 人 Laya_XS • 2017-01-24 20:19 我们的不会报错,是因为我们每...
来源: Laya_社区 发布时间: 20170123
...信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 public function Main() { MiniAdpter.init(); MiniAdpter.window.wx.onShow(_onShowWX); MiniAdpter.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); }...
来源: Laya_社区 发布时间: 20180827
.....js (module.js:422:10)\n at Module.load (module.js:357:32)\n at Function.Module._load (module.js:314:12)\n at Function.Module.runMain (module.js:447:10)\n at startup (node.js:154:18)\n at node.js:416:3" 附件 : --> 2017-04-07 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170407
...指针要变成可点击的指针“小手的样子”,求大神解析 function parseComplete() { mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature....
来源: Laya_社区 发布时间: 20170818