• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)

471. laya.net.HttpRequest_API3.0 [ 61%]

...则值为 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

472. 播放BGM,soundmanager.play()方法报错。 [ 61%]

...方法,请求官方帮助, 导微信小程序报错window.focus is not a function runtime运行报错! 官网示例摇一摇报错,就解决方案 微信小游戏编译报错 用了ByteArray的zlib.min.js后报错 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-05-12 ...

来源: Laya_社区 发布时间: 20180511

473. Unity导出插件Shader报错。 [ 61%]

...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

474. 1.7.9LayaIDE 发布出现Cannot find module 'colors'错误 [ 61%]

...错误   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

475. 报错:"for each" err,must add{} 怎么解决? [ 61%]

...码中需添加大括号包住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

476. 看一下这是什么问题,运行报错 [ 61%]

看一下这是什么问题,运行报错 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

477. Laya api 中可能的bug [官方来看] [ 61%]

...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

478. Laya.util.Ease这个类是用来配合Tween的,可是怎么使用?没有任何资料啊。 [ 60%]

...复 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

479. Uncaught SyntaxError: Unexpected token ) [ 60%]

...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

480. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 60%]

...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