大约有 397 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0044 秒)
... this.fullScreen_btn.on(Laya.Event.CLICK, this, this.onFullScreen, null); _proto.onFullScreen = function () { toggleFullscreen(); }; function launchIntoFullscreen(element) { var element = document.documentElement; if (element.requestFullscreen) { element.requestFullscreen(); } else if (el...
来源: Laya_社区 发布时间: 20190715
...Error: Cannot read property 'addChild' of null at IFrameRenderItem.__proto.show (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:26665:27) 二、社区手机号不能登陆 日志在附件“bug.rar”里,清了缓存用微信扫一扫倒是可以登 部分日...
来源: Laya_社区 发布时间: 20200909
... one. 翻看源码后发现有这么一段判断单例组件的限制 __proto.addComponentIntance=function(comp){ if (comp.owner) throw "Node:the component has belong to other node."; if (comp.isSingleton && this.getComponent((comp)....
来源: Laya_社区 发布时间: 20190609
...情况都卡了。 以下是关闭排行榜的代码://移除排行榜 _proto.closeCloudStorage = function () { if (LayaSample.refract && Laya.stage.contains(LayaSample.refract)) LayaSample.refract.removeSelf();//折射层移除舞台 if (Laya.stage.contains(LayaSample.spriteLeaderboard)) ...
来源: Laya_社区 发布时间: 20180905
...码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20171111
...terbtn.tag = 0; masterbtn.on(Laya.Event.MOUSE_UP,this,this.onItemMaster); _proto.onItemMaster = function(params){ var btn = params.currentTarget; console.log("----------------------- ",btn.tag);//我赋值是0,但这里调用获取是2?? } 2017-11-20 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20171120
...狂飙,哪怕是新建的示例项目。。。 laya.debugtools.js中的__proto.render有一句: Stat.spriteCount++;这令Sprite每秒涨几百上千的,也没有对应的--,不知道是啥意思。。。 2019-04-28 0 1 分享 微博 QZONE 微信 O古O冬 赞同来自: 有没有官方的说...
来源: Laya_社区 发布时间: 20190426
...有关于Skeleton动画的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=i...
来源: Laya_社区 发布时间: 20180106
...装备道具等需求。 修改2.0版本 laya.html.js库里的代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color...
来源: Laya_社区 发布时间: 20190611
...ngMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allLights = allLights.concat(scene._directionLights._elements); allL...
来源: Laya_社区 发布时间: 20200110