大约有 819 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(403) Laya3.0_api(148) Laya2.0_api(95) laya_api(79) Laya2.0_文档(71) Laya3.0_文档(22) Laya_示例(1)
...候崩溃 三星s6 native闪退,这个是啥错 多application打包laya获取资源失败导致闪退 关于优化求助思路,运行时log 内存500M多,IPhone6还是卡死 切换不同input,输入法反复被呼叫出来?导致微信闪退 添加极光推送后,切回后台点击推...
来源: Laya_社区 发布时间: 20171127
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210715
...tn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里为什么获取不到子node呢?打印显示btn1_btn为null console.log(btn1_btn); // btn1_btn.label="first"; this.myvbox.addChild(btn1); var btn2=new ui.test.view_btnUI(); var btn2_btn:laya.ui.Button=btn2.getChildByName("btn") as l...
来源: Laya_社区 发布时间: 20170725
...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...
来源: Laya2.0_文档 发布时间: 20210715
...在laya中显示不正常 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 移植了一个游戏 代码重新 写的 自定义场景类导出layaMaxUI.ts有前缀导致报错 我刚开始使用layabox,发布了一个h5,但是手机上应该怎么打开这个网页呢 1.7.15 小游...
来源: Laya_社区 发布时间: 20180108
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bot...
来源: laya_api 发布时间: 20170929
...抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开...
来源: Laya2.0_文档 发布时间: 20210714
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929