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

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

241. Cannot read property 'call' of undefined [ 68%]

...细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePa...

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

242. MovieClip加载错误抛什么事件? [ 68%]

...ya.events.Event; import laya.webgl.WebGL; public class MouseCount { public function MouseCount() { Laya.init(720, 1280, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#000000"; var s:MovieClip ...

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

243. 使用Handler 返回name 始终是 undefined [ 67%]

使用Handler 返回name 始终是 undefined public function RegDlg() { this.btn_submit.name = Dialog.SURE; this.closeHandler = Handler.create(this ,this.onClose, ["123"],false); } private function onClose(name:String):void{ if(name == Dialog.SURE){ var di:NormalDlg = new NormalDlg(); di.popupConte...

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

244. 这种报错,什么情况下会出现? [ 67%]

...加载本地图片都报错 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-05-07 10:15 浏览: 805 关注: 2 人 vincent • 2018-05-05 16:53 是的 vincent • 2018-05-07 09:08 这个有可能是什么错?

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

245. Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object [ 67%]

...歌chrom96版本滤镜报错 导微信小程序报错window.focus is not a function laya2 发布微信开放域工程,用微信开发者工具打开报错 Laya使用fairygui的富文本xml解析报错 小游戏项目 加载有中文的json文件 报错 问题状态 最新活动: 2023-07-06 16:44 ...

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

246. 背景音乐来回切换报错 [ 67%]

...        Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){             dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3")         }))          let mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya.Event.CLICK,...

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

247. graphics使用matrix的异常情况 [ 67%]

...情况 Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段代码...

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

248. chrome调试时 函数不定参数报错>> Uncaught SyntaxError: Unexpected token ... [ 67%]

...ollisionObject' of undefined 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 LayaAir2D示例 Mac 2.0.0beta3 Chrome调试黑屏 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Laya2.0 WebGl模式,...

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

249. 想用js写一个什么也不继承的类,但每次实例化这个类的时候会报错,是不是这个类写得不对呀 [ 67%]

...这个类的时候会报错,是不是这个类写得不对呀 var Test = (function(_super){ function Test(){         Test.super(this);         console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. retur...

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

250. 3d物体添加刚体和碰撞盒报错 [ 67%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-04-04 18:06 浏览: 1090 关注: 2 人

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