大约有 480 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.2068 秒)
Laya_社区(307) Laya3.0_api(61) Laya2.0_api(57) Laya2.0_文档(31) Laya3.0_文档(19) laya_api(4) Laya_示例(1)
...ale; // } else { // w = this.config.height * screen_wh_scale; // } // Laya.Scene.unDestroyedScenes.forEach(element => { // let s = element as Laya.Scene; // s.width = w; // s.height = h; // }); } 2020-05-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20200520
Unity插件导出后获取不了Scene子集 通过最新unity插件导出Scene 然后用Ts脚本编写导入ls文件 问题导入后场景显示,但是用scene.getChildByName去抓对象却是空的,然后调试查看Scene下子集都是0 代码流程如下: var scene = Laya.Scene.load("res/L...
来源: Laya_社区 发布时间: 20180118
...击事件,急,大神帮看哈 Animation如何加点击事件 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 图片添加点击事件 有的不生效 为什么给S...
来源: Laya_社区 发布时间: 20200523
... this.isClick = false; //对舞台stage添加点击事件(这里由于有scene的缘故,点击空白处返回的对象是scene) Laya.stage.on(Laya.Event.CLICK,this,function(e) { if(e.target.name == "scene的名字") { this.isClick = true; //如果点击的是屏幕的空白处,那么让 isCl...
来源: Laya_社区 发布时间: 20210122
...唯一标 识一个请求 req.message = msg; if(type == 1) //朋友圈 req.scene = SendMessageToWX.Req.WXSceneTimeline; else if(type == 2) //好友 req.scene = SendMessageToWX.Req.WXSceneSession; // 调用api 接口发送数据到微信 api.sendReq(req) ; } 传过去的是bitmap: var htmlCanvas:...
来源: Laya_社区 发布时间: 20180329
...prite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALI...
来源: Laya3.0_api 发布时间: 20231115
...tring { if (url.indexOf("res")!=-1&&url.indexOf("scene")!=-1&&url.indexOf("tiles")!=-1) { var arr:Array=url.split("/"); var index:int=arr.indexOf("scene"); index++; index=int(arr[ind...
来源: Laya_社区 发布时间: 20200217
...同来自: frameMode==slow的时候,第18585行判断会失效,没走scene._updateScene(),导致18620处宕机。 拿个复杂点场景,多刷新几次加载场景,有很高机率复现 2018-11-15 0 0 分享 微博 QZONE 微信 剑 赞同来自: 图片没上传? 2018-11-15 0 0 分享 微...
来源: Laya_社区 发布时间: 20170608
...子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private newScene:Laya.Scene3D; private boxA: Laya.MeshSprite3D; constructor() { super(); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage...
来源: Laya_社区 发布时间: 20210103
... 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 at Stage.__proto.a...
来源: Laya_社区 发布时间: 20181208