大约有 9 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...的链接 提交 2 个回复 Laya_Aaron 赞同来自: on(Event.MOUSE_DOWN,this,onClick); 试一下吧 onclick 函数里再打印log 2017-12-13 0 10 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个进度条 var 为pro 另外一张图的类继承了之前页面发布生成的类,直接...
来源: Laya_社区 发布时间: 20171213
... = console.log; console.warn = console.log; console.error = console.log; } this._message = new Message(); this._package = new Package(); this.socket = null; this.callbacks = {}; this.handlers = {}; // Map from request id to route this.routeMap = {}; this.heartbeatInterval = 0; this.heartbeatTimeout ...
来源: Laya_社区 发布时间: 20180119
...ll.js文件 里面的组件名正确 layaUI.max.all.js: this.pauseBtn=null; this.hpLabel=null; this.levelLabel=null; this.scoreLabel=null; this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) { ...
来源: Laya_社区 发布时间: 20171118
...ngel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = ...
来源: Laya_社区 发布时间: 20170720
... _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = true; } this.setShaderName("CMatShader"); } public SetM...
来源: Laya_社区 发布时间: 20190814
...说明 1、在laya.d3.js中找到Camera.render函数 2、render函数中,this._prepareCameraToRender();这一行后面添加如下代码 if(this._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光...
来源: Laya_社区 发布时间: 20200110
...错: 具体是layaUI.max.all.js里的这一行:effect01UI.__super.call(this); TypeError: Cannot read property 'call' of undefined 请问我应该怎么实例化 effectAnimation.efc 这种模板? 2018-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180122
...re 赞同来自: 我修改了2.2.0beta4的引擎,按照你的代码,将this改成Text,确实不会crash了,但是Label显示出屏幕了: 这个在浏览器上是正常的 2019-08-30 0 0 分享 微博 QZONE 微信 happyfire 赞同来自: 请问这个错误 JCFreeTypeFontRender::getBitmapD...
来源: Laya_社区 发布时间: 20190829
...reTest/.laya/compile.js compile Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gul...
来源: Laya_社区 发布时间: 20200607