大约有 89 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya3D初始化 window.wxMiniGame is not a function 具体错误信息、错误发生位置、打包后libs中的min文件如下 附件 : --> 2021-12-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_A 赞...
来源: Laya_社区 发布时间: 20211215
Error!,this class[Item] already exist: function Item(){ … } 这是什么错误 Laya.class(Item, "Item", Box); 定义的类,能不能清除,或者判断类是否存在 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180411
...ptError alert is not defined ReferenceError: alert is not defined at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4) at new Main (http://127.0.0.1:38102/game/code.js:111146:16) at http://127.0.0.1:38102/game/code.js:111237:1 at require (http://127.0.0.1:381...
来源: Laya_社区 发布时间: 20180620
Laya2.2问题,有没有遇到的? 子域所有代码 (function () { 'use strict'; class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none";...
来源: Laya_社区 发布时间: 20200104
...开发基础(快速上手)以后按照示例写代码 var LayaSample=(function() { function LayaSample1() { Laya3D.init(600,400); } return LayaSample1; }()); 警告Warning!,this class[MiniAdpter] already exist: Object {init: } 运行后什么都没有白白的一片 var LayaSample=(fu...
来源: Laya_社区 发布时间: 20180521
...打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 03-07 10:05:32.702 31653-31703/com.mihe.carrom I/LayaBox: alert=apploader.js:4515: TypeError: this._nativeObj.addGlobalValueDefine is not a function return this._nativeObj.addGlobalValueDefine...
来源: Laya_社区 发布时间: 20190307
...小进行变化时,会触发事件。 Laya.stage.on(Event.RESIZE, this, function():void { // To Do - UI.pos }); 2017-06-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运行编译之后 bundl...
来源: Laya_社区 发布时间: 20170613
..."LayaScene_yuanwenj2/Conventional/yuanwenj2.ls", Laya.Handler.create(this, function() { console.log("sssssssssssss"); })); 或者使用 Laya.Scene3D.load('LayaScene_yuanwenj2/Conventional/yuanwenj2.ls',Laya.Handler.create(this,this.onComplete都会报这个错...
来源: Laya_社区 发布时间: 20190618
...ew Scene (laya.core.js:23721) at new GameMain (bundle.js:6) at Function.getCompInstance (laya.core.js:21214) at Function.createComp (laya.core.js:21081) at Function.createComp (laya.core.js:21111) at Function.createByData (laya.core.js:21034) at GameMain.createVie...
来源: Laya_社区 发布时间: 20201110
...ne3D.load("LayaScene_Main/Conventional/Main.ls", Laya.Handler.create(null, function(scene:Laya.Scene3D):void { Laya.stage.addChild(scene) as Laya.Scene3D; var camera:Laya.Camera = scene.getChildByName("Main Camera") as Laya.Camera; //camera.addComponent(CameraMoveScript); })); 2019-03-08 添加评...
来源: Laya_社区 发布时间: 20190308