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

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

1051. laya升级到2.0.0beat4版本,加载场景出现的bug [ 76%]

...完成后: var scene3D:Laya.Scene3D = Laya.loader.getRes(this.mSceneName) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/TestH5Project/TestFeiChe3D/bin/libs/laya.core.js:13235:9) 2018-1...

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

1052. layaAir3D插件对应的unity版本 [ 76%]

...ty插件的使用教程与下载地址 https://ldc.layabox.com/doc/?nav=zh-as-4-0-1 2018-04-11 0 2 分享 微博 QZONE 微信 137*****902 赞同来自: 我使用的是unity5.6.3,使用的时候导出场景的时候一直报这个错误TypeLoadException: Could not load type 'UnityEngine.ImageConver...

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

1053. 原生js实现复制到剪贴板功能在浏览器中不可用 [ 76%]

...实现,或者直接复制到chrom控制台也可以实现 在游戏中用as3调用js函数却不能实现,document.execCommand("Copy")无效   后来经过测试发现, 直接在控制台document.execCommand("Copy");  会打印出  true   将代码改为 var oInput = document.createElement...

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

1054. 上架的游戏被苹果下架了 [ 76%]

...申诉也没用。    From Apple 3. 1.1 Business: Payments - In-App Purchase Guideline 3.1.1 - Business - Payments - In-App Purchase We noticed that your app or its metadata enables the purchase of content, services, or functionality in the app by means other than the in-app purchase API, which is...

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

1055. 请问代码有缓存怎么办,更新出去的代码,浏览器没有更新到 [ 76%]

...kcompile=false 试下! 2017-07-21 0 4 分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: <script src='LayaSample.max.js?'+Math.random() loader='laya'></script> 我是在后面加个随机数,这样能看到更新的laya js,如果更新同名图片,在loadImg时在图...

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

1056. 求助关于TiledMap的版本问题 [ 76%]

...细看文档,文档中有说明, https://ldc.layabox.com/doc/?nav=zh-as-3-4-0 LayaAir引擎不支持Tiled Map地图为Base64的图块层格式。   然而,打开你的DEMO发现,还是Base64,所以问题就出在这里。请劳记问题,我抽空会把这个文档再细化一下。还...

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

1057. 按文档示例写“Hello Layabox”一直报错是什么原因呢? [ 76%]

...h89102 赞同来自: 用IDE创建的还是不行,应该不是我创建的as文件的问题,提示的还有PathFind.as和Mouse.as都有报错,我用FlashDevelop制作的已经可以了,看来IDE可能本身有些冲突,也不知道我想的对不对,希望官方可以多测试下。 2018-...

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

1058. [LayaAirIDE3]2d相机打包后问题 [ 76%]

...ick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Sprit...

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

1059. 我竟然被射线检测这个小功能给难了一天了 [ 76%]

...on; onAwake():void{ this.camera = this.owner.getChildByName("Main Camera") as Laya.Camera; let scene: Laya.Scene3D = this.owner.scene as Laya.Scene3D;   this.physics=scene.physicsSimulation;     console.log("相机位置",(this.owner.getChildByName("Main Camera") as Laya.Sprite3D).transform.posit...

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

1060. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 76%]

...稍微修改其代码,增加https://github.com/layabox/layaair-doc/tree/master/Chinese/LayaAir_AS3/3D/examples 示例里下载的girl.lh文件,在laya内测试正常加载显示,代码如下:// 程序入口 class LayaAir3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:La...

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