大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
... class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //预加载角色动画资源 Laya.loader.create("monkey/monkey.ls",Laya.Handler...
来源: Laya2.0_文档 发布时间: 20210715
...11:32 问题2我又仔细测试了下,发现只要 rigidBody.isKinematic=true; 则不触发碰撞 xxj • 2019-08-22 10:51 谢谢,明白了 骄阳 • 2019-08-22 19:43 DebugPanel不能打开:出现以下错误: ReferenceError: laya is not defined preload.js:55 at file:///E:/Laya/QPlane2/bin/li...
来源: Laya_社区 发布时间: 20190821
...alue); if (this._parent){ value && this._parent._set$P("hasZorder",true); Laya.timer.callLater(this._parent,[b]this._parent.updateZOrder[/b]);//Laya.timer.callLater(this._parent,this.updateZOrder); } } }); 之前官方是 Laya.timer.callLater(this._parent,this.updateZOrder); 我改完是 Lay...
来源: Laya_社区 发布时间: 20180412
...niBirdSing.width, this.aniBirdSing.height); this.aniBirdSing.mouseEnable = true; Laya.stage.addChild(this.aniBirdSing); } 根据这个代码,我认为鼠标点击区域在图片左下区域,但结果是图片左上区域,求解? 如果我想让图片的点击区域是图片左下区域,应...
来源: Laya_社区 发布时间: 20171026
...false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/LoginScene.ts",LoginScene); } } GameConfig.init(); 然后我不理会LayaMaxUI直接弄个LoginScene 运行就出现错误...
来源: Laya_社区 发布时间: 20190402
...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 如何获取一个3D模型的长宽高? 模型资源释放问题 问题状态 最新活动: 2017-04-22 00:12 浏览: 1492 关注: 5 人 leeq3000 • 2017-01-03 19:21 好我试试
来源: Laya_社区 发布时间: 20170101
...”之间进行权衡。 类型与默认值 类型:布尔值 默认值:true 5. 测试语言(testLanguage) testLanguage 用于指定预览时使用的语言环境,主要面向多语言项目的测试需求。通过该配置,可以在不修改代码或资源配置的情况下,快速切...
来源: Laya3.0_文档 发布时间: 20260128
...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 导微信小程序报错window.focus is not a function list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2021-...
来源: Laya_社区 发布时间: 20190508
...extture = new Laya.Texture(canvas); textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 Laya.stage.graphics.drawTexture(textture); debugDraw.SetSprite(ctx); debugDraw.SetDrawScale(30.0); debugDraw.SetFillAlpha(0.3); debugDr...
来源: Laya_社区 发布时间: 20180905
...proto.move = function(x,y){ // this.x = x; // this.y = y; // this.visible =true; this.render(); this.mountain.pos(x,y); this.aeroboat.x = x; this.aeroboat.y = y; this.tower.x = x; this.tower.y = y; this.ball.x = x; this.ball.y = y; this.statue.x = x; this.statue.y = y; this.angel.x = x; this.angel.y...
来源: Laya_社区 发布时间: 20170720