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

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

1. laya.device.motion.RotationInfo_API3.0 [ 100%]

... Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Properties absolute alpha beta compassAccuracy gamma Constructors constructor ...

来源: Laya3.0_api 发布时间: 20231115

2. 2.0.0beta5 can not find class Laya.Text [ 96%]

2.0.0beta5 can not find class Laya.Text 我有个项目  Laya.version 显示 2.0.0beta5 请问我应该下载哪个版本的编辑器?我下载了   这两个版本的,运行的时候提示我这个   这是什么情况啊 附件 : --> 2021-06-24 添加评论 免费帖 --> 分享 微博 QZ...

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

3. laya.device.media.Media_API3.0 [ 95%]

...rited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否支持。 NOTE: 目前Media在移动平台只支持Andro...

来源: Laya3.0_api 发布时间: 20231115

4. Config_API3.0 [ 86%]

...otected All Inherited Externals Only exported Menu Globals "Config" Config Class Config Config 用于配置一些全局参数。如需更改,请在初始化引擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fi...

来源: Laya3.0_api 发布时间: 20231115

5. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 78%]

...lization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit...

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

6. laya.utils.Browser_API3.0 [ 75%]

...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...

来源: Laya3.0_api 发布时间: 20231115

7. playSound和playMusic结束时候有异常抛出 [ 75%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

8. Cannot read property 'load' of null [ 68%]

...Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=...

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

9. socket大型项目回调 [ 50%]

...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...

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

10. 构建apk后,java报错 [ 38%]

...a:80)         at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99)         at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41)         at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:3...

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