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

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

441. 特效LOADED监听不到 [ 51%]

...utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private const AniConfPath:String = "fighter/fighter.json"; public function LayaAirDemo() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE;...

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

442. [LayaAirIDE3]3.2.7 在抖音小游戏开启了严格模式(ES6),Android性能明显下降了 [ 51%]

...e的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。   2025-09-03 0 1 分享 微...

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

443. laya字体渲染闪退 [ 50%]

.../lib/arm64/liblayaair.so (laya::JSTextMemoryCanvas::getTextBitmapData(char const*, int, int, int)+48)   附件 : --> 2023-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 lv 赞同来自: 字体文件发下 2...

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

444. laya.ui.VBox [ 50%]

...sses | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherite...

来源: laya_api 发布时间: 20170929

445. 视频 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...码提供了一个简单的示例,演示了如何使用视频纹理: const { regClass, property } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya....

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

446. laya.ui.HBox [ 50%]

...sses | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherite...

来源: laya_api 发布时间: 20170929

447. [LayaAir3]Laya3.3.5 2D相机drawToRenderTexture2D不生效问题 [ 50%]

...2D,输出的renderTexture2D无法正常渲染。以下是代码部分: const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({type: Laya.Sprite,caption:"测试组件1"})     private testSprite: Laya.Sprite;     @property({type: Laya.Sprite...

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

448. laya.ui.VBox [ 50%]

...sses | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inheri...

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

449. 实体组件系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...ts为例,讲解生命周期方法,以下是此脚本文件的代码: const { regClass, property } = Laya; /** * 子弹脚本,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设...

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

450. laya打包native上传Google Play 后台报错 [ 50%]

...fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCScriptRuntime::start(char const*)+148)   #04 pc 0000000000216c6c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCConch::onAppStart()+268)   #05 pc 000000000022b84c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (Java_layaair_ga...

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