大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0071 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
3D坐标系转换 Laya.Vector3.transformCoordinate(worldPos, this.owner.transform.localMatrix, this._tempPos); 我想将一个世界坐标转换到某个Sprite3D的本地坐标,上面这种写法,的出来的结果不对,所以问下应该怎么转换 2018-07-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180719
...我想动态刷新图集中某一小块的二维码图片可以刷新么 this.saoma.visible=false;可以控制他隐藏或者显示。this.saoma就是我现在图集里的某一块图片二维码。他的默认地址是scene/QRcode.png。他的名字是saoma。我想修改它的地址。直接用thi...
来源: Laya_社区 发布时间: 20171105
...stringify("a","1"); js.uname ="sdfsdf"; js.pss ="sdfsdf"; console.log(js); this.hr.send(url, js,"post","text"); 服务器端获取不到值只是 [object JSON] this.hr.send(url, js,"post","json"); 会报错,发送失败 2017-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170509
...18-12-03 17:19 浏览: 1653 关注: 2 人 150*****705 • 2019-01-30 20:43 this.itemList.renderHandler = Laya.Handler.create(this, this.onRenderHandler, null, false); 你要在后面设置 null,false 才行 他这个有很多问题
来源: Laya_社区 发布时间: 20181203
...cation/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function err...
来源: Laya_社区 发布时间: 20180202
...能播放动画,使用新版动画系统。 //获取角色动画组件 this.roleAni = this.roleModel.getComponentByType(Laya.Animator); 1、unity中Legacy类型 roleAni输出为NULL 2、unity中Generic类型 roleAni输出不为NULL,this.roleAni.play("Walk");但是不能播放 附件 : --> 2018-0...
来源: Laya_社区 发布时间: 20180525
...后 ``` 添加CommandBuffer到相机事件的接口如下: ```typescript this.camera.addCommandBuffer(this.cameraEventFlag,this.commandBuffer); ``` 删除CommandBuffer的接口如下: ```typescript this.camera.removeCommandBuffer(this.cameraEventFlag,this.commandBuffer); ``` CommandBuffer是一...
来源: Laya2.0_文档 发布时间: 20210715
在浏览器里打开游戏退出时游戏会执行什么? this.on(Laya.Event.REMOVED,this,this.releaseUp); 我之前执行过这个方法。。但是这个方法必须是当前界面销毁或者移除的时候才执行。。如果在浏览器里,我点关闭或者手机上点返回。。那这...
来源: Laya_社区 发布时间: 20180428
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...
来源: Laya_社区 发布时间: 20170602
...境有问题? /LayaAirTest/src/LayaAirTest.as (8):warning:Laya.init This variable is not defined. /LayaAirTest/src/LayaAirTest.as (9):warning:Laya.timer.currTimer This variable is not defined. /LayaAirTest/src/LayaAirTest.as (20):warning:Laya.stage.bgColor This variable is not defined. /LayaAir...
来源: Laya_社区 发布时间: 20170429