大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...e]):View.uiClassMap[json.type]; return compClass ? new compClass():null; } 这第2句代码貌似不正常啊?改成下面的样子试试: var compClass=(View.viewClassMap[runtime] || Laya["__classmap"][runtime])?runtime:View.uiClassMap[json.type]; 改完一切正常. ...
来源: Laya_社区 发布时间: 20160913
...d { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); } 如果不添加最后4行代码的话,每次切换回来内存就都会上涨了,现在是只有第一次上涨,之后就不会了 2018-02-05 0 0 分享...
来源: Laya_社区 发布时间: 20180205
...e / 2, this.DrawControl.radius.value, this.DrawControl.radius.value, null, 1, color, null); } 附件 : --> 2020-11-03 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...
来源: Laya_社区 发布时间: 20201103
...ion() __lookupGetter__: function() __lookupSetter__: function() __proto__: null constructor: function() hasOwnProperty: function() isPrototypeOf: function() propertyIsEnumerable: function() toLocaleString: function() toString: function() valueOf: function() __proto__: null 附件 : --> 2024-03-05 1 ...
来源: Laya_社区 发布时间: 20240305
...ent.MOUSE_DOWN, this, onMouseDown); } private function onMouseDown(e:Event=null):void { var touches:Array = e.touches; if(touches && touches.length == 2) { preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, onM...
来源: Laya2.0_示例 发布时间: 20251219
... onColorPickerSkinLoaded)); } private function onColorPickerSkinLoaded(e:*=null):void { var colorPicker:ColorPicker = new ColorPicker(); colorPicker.selectedColor = "#ff0033"; colorPicker.skin = skin; colorPicker.pos(100, 100); colorPicker.changeHandler = new Handler(this, onChangeColor, [colorPicke...
来源: Laya2.0_示例 发布时间: 20251219
...截图给研发商 Uncaught TypeError: Cannot read property 'addChild' of null TypeError: Cannot read property 'addChild' of null at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27) at ParticleScene.__proto.show (file:...
来源: Laya_社区 发布时间: 20170908
..., "#ff0000", "center"); Tween.to(mLabelSprite, { y: mStartY - 200 }, 1000, null, Handler.create(this, this.playEnd)) } playEnd() { mLabelSprite.removeSelf(); } } new Skeleton_SpineEvent();module laya { import EventData = Laya.EventData; import Skeleton = Laya.Skeleton; import Templet = Laya.Templet;...
来源: Laya2.0_示例 发布时间: 20251219
...ed)); } private function LoadComplated(e:*=null):void { Laya.stage.addChild(img); img.on("click",this,OnImgClick); OnImgClick(); va...
来源: Laya_社区 发布时间: 20170918
...截图给研发商 Uncaught TypeError: Cannot read property 'addChild' of null TypeError: Cannot read property 'addChild' of null at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27) at ParticleScene.__proto.show (file:...
来源: Laya_社区 发布时间: 20170908