大约有 2,916 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1723) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(92) Laya2.0_示例(16) Laya_示例(11)
...: 加个~试试,即 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
...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
...戏 接口:Laya.LocalStorage.getItem("user"); 返回:Value userData of type java.lang.String cannot be converted to JSONObject 本该返回一个json对象,浏览器正常 测试手机荣耀v10 快应用调试器平台版本1040 附件 : --> 2019-07-09 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20190709
...成操作的机会;就是简单的立即停止 ### 属性 | Property | Type | Description | | ----------- | ---------------------------------------- | ---------------------------------------- | | `onmessage` | [`EventListener`](https://developer.mozilla.org/zh-CN/docs/Web/API/EventListener) | 一...
来源: Laya2.0_文档 发布时间: 20210715
...会找不到 只不过不好找而已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
...就是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
...xxxxx 赞同来自: load(url: any, complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean): LoaderManager; 这里的ignoreCache对图片资源不工作! 这是导致划屏的原因。 悬赏充了100块,没人解决也...
来源: Laya_社区 发布时间: 20180609
...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
...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知...
来源: Laya_社区 发布时间: 20180625
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 预设怎么在代码中使用 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 201...
来源: Laya_社区 发布时间: 20170523