大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
...加载本地图片都报错 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? runtime运行报错! 问题状态 最新活动: 2019-01-25 16:46 浏览: 1808 关注: 2 人 KOOHY ...
来源: Laya_社区 发布时间: 20190125
...age=ch&category=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this....
来源: Laya2.0_文档 发布时间: 20210715
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
这个写法是什么意思,能否解释一下,谢谢 function BackGround() { //定义背景1 this.bg1 = null; //定义背景2 this.bg2 = null; //初始化父类 BackGround.__super.call(this); ...
来源: Laya_社区 发布时间: 20170311
...报错 window is not defined 导微信小程序报错window.focus is not a function 本地调试加载本地图片都报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 启动引擎报错 mPlugin.game_plugin_init(3); 小游戏项目 加载有中...
来源: Laya_社区 发布时间: 20170805
...aya.utils.Handler; import laya.utils.Stat; public class LayaAir3D { public function LayaAir3D() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //开启统计信息 Stat.show(); //预加载角色动...
来源: Laya2.0_文档 发布时间: 20210715
...p.json", type: Loader.ATLAS }], Laya.Handler.create(this, this.onLoaded)); function onLoaded(): void { var sprite = new Laya.Sprite(); sprite.loadImage('comp/bg.png'); Laya.stage.addChild(sprite); } 上面这段代码如果把Laya.stage.size这行的注释去掉,运行时不能正常显示图片...
来源: Laya_社区 发布时间: 20170803
...cs3D.js 之后报错 Qt[a[((a[(A >> 2)] + 32) >> 2)]] is not a function 附件 : --> 2020-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 小小泽 赞同来自: 可以的话你提一个可以复...
来源: Laya_社区 发布时间: 20201217
...esourceManager类里面有个大图管理数量,默认是6 public static function __init__():void { atlasTextureWidth = 2048; atlasTextureHeight = 2048; maxTextureCount = 6; atlasLimitWidth = 512; atlasLimitHeight = 512; } 当图量超标时就会出现破图;总算找到问题所在了; 2019-...
来源: Laya_社区 发布时间: 20190111
...该类下的以下代码注释重新编译即可 //canvas.oncontextmenu = function(e:*):* { // if (enabled) return false; // } //e.preventDefault(); 有6句,需要全部注释 2017-02-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170112