大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
...则值为 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
...方法,请求官方帮助, 导微信小程序报错window.focus is not a function runtime运行报错! 官网示例摇一摇报错,就解决方案 微信小游戏编译报错 用了ByteArray的zlib.min.js后报错 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-05-12 ...
来源: Laya_社区 发布时间: 20180511
...alid subscript '_ShadowCoord' 'unitySampleShadow': no matching 1 parameter function at Assets/LayaAir3D/LayaShader/CGIncludes/LayaBlinnPhongFA.cginc(104) (on d3d11) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS ...
来源: Laya_社区 发布时间: 20180224
...错误 module.js:472 throw err; ^ Error: Cannot find module 'colors' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/private/var/folders/g5/h...
来源: Laya_社区 发布时间: 20170812
...码中需添加大括号包住for each作用域。 原生例子 :public function ForEachDemo() { var obj:Object = [ { key:1 }, { key:2 } ]; //转成成js时工具会在使用for each的地方添加相应的报错信息: //"for each" err,must add{} for each(var value:Object in obj) trace(value.ke...
来源: Laya_社区 发布时间: 20151118
看一下这是什么问题,运行报错 var MPanel1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费...
来源: Laya_社区 发布时间: 20180206
...wGridList顺序,这样在调整zorder时是调整不到的__proto.render=function(context,x,y){ var childs=this._childs; this._childs=this._showGridList; _super.prototype.render.call(this,context,x,y); this._childs=childs; }2.core中Sprite的zorder的set方法中 有一行代码有疑似bug,麻...
来源: Laya_社区 发布时间: 20180412
...复 youhong168 赞同来自: shaotianhk backOut () method public static function backOut(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number开始运动时是朝目标移动,稍微过冲,再倒转方向回来朝着目标。 Parameters t:Number — 指定当前时间,介于 ...
来源: Laya_社区 发布时间: 20170105
...ModelV03: unknown vertexDeclaration. Uncaught TypeError: tex.once is not a function Uncaught TypeError: Cannot read property 'dir' of undefined 这是什么报错啊? HttpRequest请求头加入自定义的userId和token,总是报错 问题状态 最新活动: 2017-08-31 16:01 浏览: 1005 关注...
来源: Laya_社区 发布时间: 20170726
...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231102