• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)

181. Laya.Tween.to 用这个做缓动动效, 变动scale值有问题, [ 71%]

...aya.Tween.to(this.load_1, { scaleX:0.01 }, 250, Laya.Ease.quadOut, Handler.create(this, this.tw1Complete1)); 只要是设置scale值最终变为0就有问题,, var style=this.getStyle(); 这个获取的style是空的,,这个问题不是必现的,,,,, 附件 : --> 2018-03-15 添加...

来源: Laya_社区 发布时间: 20180315

182. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 71%]

...rl: "Box/LayaScene_JJF/Conventional/JJF.lh"}];         Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //创建场景         var scene = Laya.stage.addChild(new Laya.Scene3D());         //创建相机         var camera = new...

来源: Laya_社区 发布时间: 20190605

183. 在Unity中设置动画事件(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 71%]

...en/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube"); //添加组件(脚本) var _script = cube.addComponent(SceneScript); //label用于显示 var _lab = new La...

来源: Laya2.0_文档 发布时间: 20210715

184. 人物行走图动画 [ 71%]

...Boolean = true):void 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS);   这里的load只有三个参数,而事实上用到4个,不清楚。。。   还有ani.index = 1;我改成0,-1,2,可是在经过play后面自动变成1,还...

来源: Laya_社区 发布时间: 20160712

185. destroyChildren 销毁对象后为什么依旧能取得内部属性 removeChildren destroyChildren的区别 [ 71%]

...对象,统计面板的显存和内存就会显示成负数 Laya.Handler.create和new Laya.Handler有啥区别 1.7.20beta有bug,帧属性面板打不开 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里...

来源: Laya_社区 发布时间: 20170328

186. Sprite-遮罩-放大镜 [ 71%]

...a.stage.bgColor = "#232628"; Laya.loader.load("../../res/bg2.png", Handler.create(this, setup)); })(); function setup() { var bg = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, ...

来源: Laya_示例 发布时间: 20251209

187. 求救:proto解析 _i会变成I [ 71%]

....lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成员名字都变了 “_i”变成了大写的“I” 2017-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

来源: Laya_社区 发布时间: 20170914

188. worker.js 使用问题 [ 71%]

...was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Texture2D.__proto.activeResource (laya.core.js:13234)     at Texture2D.<anonymous> (laya.d3.js:21347)    ...

来源: Laya_社区 发布时间: 20171120

189. 加载UI为什么总是加载白底 [ 71%]

...fffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ var _start = new start(); Laya.stage.addChild(_start); } })(); var start = (function(_super){ function start(){ start.super(this); } Laya.class(start,"s...

来源: Laya_社区 发布时间: 20181220

190. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 71%]

...en/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //lab...

来源: Laya2.0_文档 发布时间: 20210715