大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(739) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...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
... 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
...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
...: 与内容相关的链接 提交 1 个回复 andyskaura 赞同来自: 在Handler内调用其它js的function或者赋值 2018-03-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zxcmht310 相关问题 unity导出粒子文件问题 图...
来源: Laya_社区 发布时间: 20180321
... 提交 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
... 微信小游戏加载 this.bitmapFont.loadFont("font/font.fnt",new Laya.Handler(this,this.onLoaded)); 附件 : --> 2019-06-17 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 有demo不,...
来源: Laya_社区 发布时间: 20190617
...的链接 提交 2 个回复 w1114367261 赞同来自: sunkui list.renderHandler = new Handler(this,function);在list刷新时触发 list滚动到什么位置了你可以获取list的滑动块的位置来得到 list.scrollbar.slider.value 2018-05-08 1 0 分享 微博 QZONE 微信 大碗 赞同来自...
来源: Laya_社区 发布时间: 20180508
... MiniFileMgr.readFile(url,fileObj.encoding,new Handler(MiniLoader,MiniLoader.onReadNativeCallBack,[encoding,url,type,cache,group,ignoreCache,thisLoader]),url); MiniFileMgr.readFile功能是从本地(或包内)读取文件,但是其第一个参数(url)并没...
来源: Laya_社区 发布时间: 20190415
...上js访问不到JSBridge类中的方法,请求官方帮助, 源代码中Handler中的setTo()方法 protobuf.js 转小游戏 动态生成方法报错 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 希望...
来源: Laya_社区 发布时间: 20180505
...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