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

大约有 143 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

11. socket.sent [ 89%]

...送字符串的形式。 //报错TypeError: Cannot read property 'send' of undefined //    at Btn1.Btn1On (file:///K:/laya/mylaya11/bin/js/Btn1.js:21:20) //    at EventHandler.__proto.runWith (file:///K:/laya/mylaya11/bin/libs/laya.core.js:711:59) //    at Button.__proto.event (file:///K:/laya...

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

12. js飞机大战报错 请大神看看 [ 88%]

...         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new GameInfo (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22)     at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/Air...

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

13. [LayaAir3]挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错 [ 88%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 求指点3d射线碰撞和UI点击穿透的问题 如何设置Sprite的宽高和点击区域? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ui list 里面的元素不...

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

14. 关于多点触控e.touches问题 [ 87%]

...console.log("onCtrlMoveRockerTouchDown()");    this.ctrlMoveRockerPosX = undefined;    this.ctrlMoveRockerPosY = undefined;    var tX, tY;    var ts = e.touches;    console.log(e.stageX + ":" + e.stageY);    if(ts) {             console.log("11111111111111111111");    }    else...

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

15. laya接入vivo平台加载资源卡住66% [ 86%]

...加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 关于发布oppo、vivo快游戏,无法生成Rpk问题 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 模型资源释放问题 1.8.4版本打包vivo小游戏,只有个temprelease uni...

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

16. 微信飞机大战报错 [ 86%]

微信飞机大战报错 调用堆栈:"Cannot set property 'text' of undefined"  调试控制台输出:Error processing "evaluate": TypeError: Cannot read property 'api' of undefined     at ChromeConnection.get api [as api] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_mo...

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

17. MovieClip的target和currentTarget属性为undefined[ 86%]

MovieClip的target和currentTarget属性为undefined? private function showNowPic():void{ for each(var ul:String in pics){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); t...

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

18. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 85%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 关于同为object层,层级设置无效的问题 Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 Error: asBitmap no size! spine动画...

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

19. Cannot read property 'rayCast' of undefined [ 85%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

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

20. Image.loadImage 方法加载问题 [ 85%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 请问下加载TFF字体要怎么加载呢? IDE1.7.8 json图集加载问题 LayaAir 库文件加载速度慢 unity到导出场景加载时抛异常,不知所措 FD 宏编译时 出现 试图访问该方法时失...

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