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

大约有 237 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)

91. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 75%]

...;     } }); (function loadUI() {     var curStateIndex = 0;     Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () {         var changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "正常模式"));   ...

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

92. 音乐文件能预加载吗 [ 75%]

音乐文件能预加载吗 音乐文件能像图集一样用Loader预加载吗 2018-04-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Apple 赞同来自: 可以,比如Loader中的url数组加上 {"url":"res...

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

93. Loader.basePath貌似没有用了,是不是应该清理掉 [ 74%]

Loader.basePath貌似没有用了,是不是应该清理掉 设置之后发现没效果,查看源码发现应该是移植到URL类里了 2016-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 yung 赞同来...

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

94. Cannot read property 'load' of null [ 74%]

...ayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static g...

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

95. 射线检测-射线检测 [ 74%]

...sform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminnan.lm", "../../res/threeDimen/skinModel/XiaoFeiLong/XiaoFeiLong-xiaofeilong.lm", "../../res/t...

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

96. JSON文件加载成功后,怎么解析成Object对象 [ 73%]

...-----------------------package { import laya.display.Text; import laya.net.Loader; import laya.utils.Handler; /** * ... * @author OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflo...

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

97. tiledMap的初始化json是怎么生成的? [ 73%]

...的tieldmap生成的json文件里data是这种格式,地图显示有误 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 请教 FlashBuilder如何生成二维码让手机扫描测试 TiledMap创建地图在LayaAir中显示不完全 layaMa...

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

98. UNITY3D导出模型加载错误 [ 73%]

UNITY3D导出模型加载错误 laya.core.js:12371 Uncaught Error: LoaderManager:unknown file(http://127.0.0.1/layaair/myLaya3D1/bin/null path) extension with: 1. at LoaderManager.__proto._create (laya.core.js:12371) at LoaderManager.__proto.create (laya.core.js:12339) at Loader.Laya3D._onHierarchy...

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

99. .lh 文件不能在同一js文件内重复引用吗? [ 73%]

...得场景内的元素 layaAir TS项目如何引用protoBuf库? 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小程序 发布后缺少app.json文件 怎么实现同一个工程内分包? 微信小游戏中访问带空格的文件出错 问题状态 最新活动: ...

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

100. discard property,please use transform's property instead [ 73%]

...耗性能         directionLight.shadowPCFType = 3;         Laya.loader.create([             "res/plane.lh",             "res/LayaMonkey.lh"         ], Laya.Handler.create(this, onComplete));         var _quaternion = new Laya.Quaternion();         Laya.timer.frameLoo...

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