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

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

691. LayaNative不是浏览器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

...未知的错误。 Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2026-01-28 15:12:31 img{cursor:pointer}

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

692. 苹果手机来回关闭背景音乐以后会出现报错[已解决] [ 55%]

... Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.   链接http://m.danlu.net/u/kezhiyu/game/4898/ 我不是用官方编辑器写的。 2018-07-06 添加评论 免费帖 -->...

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

693. laya.d3.math.Vector3 [ 55%]

... Vector3 类用于创建三维向量。 Public Properties PropertyDefined By  elements : Float32Array三维向量元素数组Vector3  x : Number 获取X轴坐标。 Vector3  y : Number 获取Y轴坐标。 Vector3  z : Number 获取Z轴坐标。 Vector3Public Methods  MethodDefined By  Ve...

来源: laya_api 发布时间: 20170929

694. LayaAir中字符串转xml [ 55%]

...过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig跟创...

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

695. laya.ui.ProgressBar [ 55%]

...erited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize ...

来源: laya_api 发布时间: 20170929

696. laya.display.AnimationPlayerBase [ 55%]

...erited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认...

来源: laya_api 发布时间: 20170929

697. 打地鼠的Laya1.0想用2.0写出来总是出错 [ 55%]

...ui导出类 最上面有注释: /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ 如果检测编辑界面有改动的话运行的时候会重新生成该类。     2019-09-02 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

698. Config [ 55%]

...,请在初始化引擎之前设置。 Public Properties PropertyDefined By  animationInterval : int = 50[static] 动画 Animation 的默认播放时间间隔,单位为毫秒。 Config  is2DPixelArtGame : Boolean = false[static] 是否强制使用像素采样。适用于像素风格游戏 Co...

来源: Laya2.0_api 发布时间: 20190513

699. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 55%]

...sk.js"); myWorker.onmessage = function (oEvent) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. ``` 新建一个my_task.js文件,代码如下: ```typescript self.addEventListener('message', function (e) { var xmlreq = new XMLHttpRequest(); xm...

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

700. laya.ui.CheckBox [ 55%]

...erited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会...

来源: Laya2.0_api 发布时间: 20190513