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

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

2241. laya微信小游戏加载外部素材失败 急急急 [ 52%]

...: 加个~试试,即 var resource = { {url:'~res/atlas/game/game.atlas',type:Laya.Load.ATLAS} } 2018-04-26 0 0 分享 微博 QZONE 微信 callback 赞同来自: 附件是 加载demo 代码非常少 可以重现我说的问题    function initLaya() { console.log('Laya.version:' + Laya.version); /...

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

2242. 使用3D UI · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...nstance: Main; constructor() { super(); Main.instance = this; } @property({type:Laya.Sprite3D}) private target: Laya.Sprite3D; @property({type:Laya.UI3D}) private ui3d: Laya.UI3D; public animator: Laya.Animator; onEnable() { // 广告牌模式 this.ui3d.billboard = true; //获得状态机 this.anima...

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

2243. vivo打包后在手机运行本地存储返回数据有错 [ 52%]

...戏 接口:Laya.LocalStorage.getItem("user"); 返回:Value userData of type java.lang.String cannot be converted to JSONObject 本该返回一个json对象,浏览器正常 测试手机荣耀v10 快应用调试器平台版本1040 附件 : --> 2019-07-09 添加评论 免费帖 --> 分享 微博 ...

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

2244. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 52%]

...成操作的机会;就是简单的立即停止 ### 属性 | Property | Type | Description | | ----------- | ---------------------------------------- | ---------------------------------------- | | `onmessage` | [`EventListener`](https://developer.mozilla.org/zh-CN/docs/Web/API/EventListener) | 一...

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

2245. Layaair1.0的版本怎么在官网找不到了??? [ 52%]

...会找不到 只不过不好找而已http://ldc.layabox.com/layadownload/?type=layaairide-LayaAir%20IDE%201.8.12%20beta 2020-10-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bingqimao 相关问题 LayaAir3D UnityPlugin 使用须知-...

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

2246. 如何能够clone一个node(包括node所有的子节点, 以及所有节点上的compnent,属性) [ 52%]

...就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 10000; Laya.stage.addChild(o); })); 但是如...

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

2247. 仅在Android微信小游戏下图片错乱 [ 52%]

...xxxxx 赞同来自: load(url: any, complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean): LoaderManager;   这里的ignoreCache对图片资源不工作! 这是导致划屏的原因。 悬赏充了100块,没人解决也...

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

2248. 关于mouseThough=true的问题 [ 52%]

...ing()); var assets:Array = []; assets.push({url:[ "fish_6.png" ],type:Loader.IMAGE}); Laya.loader.load(assets,Handler.create(this,onLoaded)); } private function onLoaded():void{ var img:Image = new Image("fish_6.png"); img.on(Event.CLICK,this,onClick); img.mouseThrough = true; La...

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

2249. unity中,使用Animator Controller之后,导出报错 [ 52%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知...

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

2250. Native下,怎么使用protobuf? 有没有范例可以下载参考 [ 52%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 预设怎么在代码中使用 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 201...

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