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

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

1. AS中的回调函数为什么只能用Handler创建? [ 100%]

...函数为什么只能用Handler创建? 比如一个主类: private var score:int; public function main():void {  new class(callback); } private function callback(num:int):void {   this.score = num;   var tmp:int = this.score;   trace(tmp); }     另外一个类:class.as 里面有个方...

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

2. 为什么会出现报错 ani not found:ufo1_down [ 44%]

...等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.bulletLevel = 0; // 敌机血量 this.hps = [1,4,10]; // 敌机速度 this.speeds = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设...

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

3. 为什么会出现报错 ani not found:ufo1_down [ 42%]

...等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.bulletLevel = 0; // 敌机血量 this.hps = [1,4,10]; // 敌机速度 this.speeds = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设...

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

4. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 35%]

...I C01799/MemMgr: KernelInterface::EchoToPath echo 400 > /proc/23051/oom_score_adj 01-06 17:34:41.565 403 528 I C01799/MemMgr: ReclaimPriorityManager::HandleCreateProcess create: bundleName=com.layabox.game, prio=400 01-06 17:34:41.566 23051 23051 I C057c2/IPCObjectProxy: AddDeathRecipient 393: su...

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