大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...w(); Laya.stage.frameRate = Laya.Stage.FRAME_FAST; //预加载所有资源 this.resource = [ "res/maze/img/demo/toolClock/Conventional/glow.lh", "res/maze/img/demo/Conventional/wang06.lh", "res/maze/img/demo/toolClock/Conventional/puzzleA.lh", "res/maze/img/demo/to...
来源: Laya_社区 发布时间: 20191209
...个位图字体教程的代码应该放在哪里,怎么引用,其中的this是指? 我自建了单独的文件,并在Main里import了它,输出看是undefined。 5.几处的路径不一致,它们的关系是? a.如图:把test_0.png名字改为test.png,保证跟fnt文件同名。...
来源: Laya_社区 发布时间: 20180919
...ar SightBead = (function () { function sightBeadSprite() { SightBead.super(this); this.name = 'sightBead'; this.graphics.drawCircle(0,0,40,null,'#ff0000',1); this.graphics.drawLine(-45,0,45,0,'#ff0000',1); this.graphics.drawLine(0,45,0,-45,'#ff0000',1); this.alpha = 0; Laya.stage.addChild(this); // ...
来源: Laya_社区 发布时间: 20171012
...r extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.rotation; this.VIEW_TURNTAB...
来源: Laya_社区 发布时间: 20180720
...onerror时没有重置customParse属性为false。 var res3DArr = [ { url: this.error_PATH }, { url: this.zombie_anim_path1 }, { url: this.zombie_anim_path2 }, { url: this.zombie_anim_path3 }, { url: this.zombie_anim_path4 }, { url: this.zombie_anim_path5 }, ]; Laya.loader.retryNum = 0; Laya.loader....
来源: Laya_社区 发布时间: 20180305
发布微信小游戏后 this.preinitialize is not a function 在IDE里调试,一切正常,发布到微信小游戏后,报错this.preinitialize is not a function 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190109
TypeError: this._childs is null 用了Laya.stage.destroyChildren();之后出错 TypeError: this._childs is null 看不懂啊! 救命啊!!!!!! 还有火狐提示 HTTP "Content-Type" 中的 "text/html" 不支持。媒体资源加载失败。 无法播放媒体。没有相应格式的...
来源: Laya_社区 发布时间: 20171206
...nvas模式 还是老问题此一体机浏览器不支持webgl。 也设了 this.autoRelease=true; this.autoReleaseMaxSize=1024 *1024 *10; atlasLimitWidth=64 atlasLimitHeight=64 另外我监控 __proto.addSize=function(add){ 这儿函数 发现add 有时候是负值 不知道是否正常,我修改...
来源: Laya_社区 发布时间: 20170915
...meshFilter.sharedMesh; capsule.name = "胶囊体"; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitAllInfo = new Array(); function checkHit() { //从屏幕空间生成射线 point.elemen...
来源: Laya_示例 发布时间: 20250225
...按钮注册监听后在处理函数访问不到类成员变量的问题 this.btnLogin.on(Laya.Event.CLICK, null, this.OnLoginClick); LoginView.prototype.OnLoginClick= function() { this.dlg.setContent("暂时无法登录"); }; 解决方法式在第一行代码第二个参数一定要传this(被某...
来源: Laya_社区 发布时间: 20180111