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

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

771. 照相机-正交相机 [ 58%]

...ent; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class OrthographicCamera { /** * (pos.x pos.y) 屏幕位置 * pos.z 深度取值范围(-1,1); * */ private var pos:Vector3 = new Vector3(310, 500, 0); pr...

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

772. 如何使用javascript版本的加载模式 [ 58%]

... Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛里面的教程:https://as...

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

773. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 58%]

...new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); //测试遮挡剔除 material.cull = 0 box.meshRenderer.material = material;  let res1 = Laya.Sprite3D.instantiate(box); let res2 = Lay...

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

774. 预加载资源中的progress参数能否传给另一个js文件 [ 58%]

...: 与内容相关的链接 提交 1 个回复 andyskaura 赞同来自: 在Handler内调用其它js的function或者赋值 2018-03-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zxcmht310 相关问题 unity导出粒子文件问题 图...

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

775. tween update怎么使用 [ 58%]

... 提交 2 个回复 Monica - 知识达人 赞同来自: xxx.update = new Handler(xx,xxx); 2017-11-24 0 0 分享 微博 QZONE 微信 laya123 赞同来自: http://ldc.layabox.com/doc/?nav=zh-ts-1-5-1  最后一个事例里有用到 2017-11-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

776. 2.0 字体位图 微信小游戏加载 [ 58%]

... 微信小游戏加载 this.bitmapFont.loadFont("font/font.fnt",new Laya.Handler(this,this.onLoaded)); 附件 : --> 2019-06-17 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 有demo不,...

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

777. list scroll [ 58%]

...的链接 提交 2 个回复 w1114367261 赞同来自: sunkui list.renderHandler = new Handler(this,function);在list刷新时触发 list滚动到什么位置了你可以获取list的滑动块的位置来得到 list.scrollbar.slider.value 2018-05-08 1 0 分享 微博 QZONE 微信 大碗 赞同来自...

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

778. 微信小游戏-引擎-bug [ 58%]

...                 MiniFileMgr.readFile(url,fileObj.encoding,new Handler(MiniLoader,MiniLoader.onReadNativeCallBack,[encoding,url,type,cache,group,ignoreCache,thisLoader]),url);   MiniFileMgr.readFile功能是从本地(或包内)读取文件,但是其第一个参数(url)并没...

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

779. Texture.destroy()方法设计有问题 [ 58%]

...上js访问不到JSBridge类中的方法,请求官方帮助, 源代码中Handler中的setTo()方法 protobuf.js 转小游戏 动态生成方法报错 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 希望...

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

780. 取色器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...colorPicker.skin = this.skin; colorPicker.pos(100, 100); colorPicker.changeHandler = new Laya.Handler(this, this.onChangeColor, [colorPicker]); this.owner.addChild(colorPicker); this.onChangeColor(colorPicker); } private onChangeColor(colorPicker: Laya.ColorPicker, e: any = null): void { console.log...

来源: Laya3.0_文档 发布时间: 20251010