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

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

1. 在UI类里调用启动类的静态函数失败了 [ 100%]

...structor() { super(); this.kaishi_btn.on(Laya.Event.MOUSE_DOWN, this, this.onStart); // Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.birdFly);//可以绑定两个函数 Laya.stage.on(Laya.Event.KEY_DOWN, this, this.birdFly); this.init(); } public init(): void { Laya.Tween.to(this.kaishi_btn, { y:...

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

2. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 87%]

...a.Vector3(1, 1, 1);   @property(Laya.Camera)   camera: Laya.Camera;    onStart() {     //@ts-ignore     window.camera = this.camera;     console.log("Game start", this.camera._up);     console.log(       "Game start",       this.camera._up.x,       this.camera._up.y,       th...

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

3. 最小化一定时间后心跳变成一分钟一次了 [ 86%]

...,多久会执行一次,一帧吗?和frameLoop一样? 新人求助:onStart赋值为什么在onUpdate会输出一次为空 请问2.0版本JS文件逻辑代码改变一定要编译一次,浏览器才能更新吗? native初始化一次以后进行销毁,第二次重新初始化会报错 ...

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

4. [LayaAirIDE3]2d相机打包后问题 [ 59%]

...cript: Joystick;     private cameraController: CameraController;      onStart() {         // 初始化组件引用         this.playerScript = this.player.getComponent(Player);         this.joystickScript = this.joystick.getComponent(Joystick);         this.cameraController = th...

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

5. lib/arm/liblayaair.so 总是崩溃 [ 28%]

...ification()0|0|10000 08-14 10:57:51.464 5115-5115/? I/HwLauncher: Launcher onStart()     Launcher dynamicIconsRegister     DynamicUpdater registerReceiver 08-14 10:57:51.464 3526-5072/? I/HwActivityManagerService: ProcessRecord ProcessRecord{1a72829 9944:com.huawei.health:DaemonService/u0a106} i...

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