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

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

191. Laya2.2问题,有没有遇到的? [ 70%]

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

192. 报错:LayaAir not allow import flash.events.EventDispatcher? [ 70%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 2.2.0beta4,微信上动态合批报错. 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2016-12-22 12:01 浏览: 1994 关注: 2 人 Laya_XS • 2016-12-22 23:36 flash的类在layaai...

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

193. app构建后在真机中运行报错 [ 70%]

...码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){     function Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.prototype;     /**     *通...

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

194. Maximum call stack size exceeded [ 70%]

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

195. AnimationClipParser04解析3d动作在 手机端报错 [ 69%]

... btCollisionObject undefined 导微信小程序报错window.focus is not a function 我刚开始使用layabox,发布了一个h5,但是手机上应该怎么打开这个网页呢 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? IDE通过.ui自动生成的ui代码报错 ...

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

196. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 69%]

...e/cocos/./scripting/js-bindings/jswrapper/v8/Object.cpp, 628): Invoking function (0x794f5fe1c0) failed! 附件 : --> 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 西西de弗斯 赞同来自: 兄...

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

197. LayaNative端使用.ttf字体 [ 69%]

... laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu....

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

198. destroy 报错 [ 69%]

...开发者工具打开报错 导微信小程序报错window.focus is not a function 微信小游戏编译报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 播放背景...

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

199. layaAir支持xml加载和使用吗 [ 69%]

... laya.net.Loader; import laya.utils.Handler; public class XmlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("...

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

200. Laya.loader.load 加载场景报错 [ 69%]

... 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a function...

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