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

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

71. 二次开发(TypeScript-LayaNative原生服务-LayaNative进阶) [ 45%]

...8StringEncoding]; [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"testAsyncCallback:" ret:jsonStr]; }); } ``` 注意: 函数参数只支持布尔、浮点、字符串等基本类型,支持返回值。原生函数运行在脚本线程,更新UI需要转到UI线...

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

72. Swift中接入Native,执行完drawInRect后不执行update了! [ 44%]

...*)view drawInRect:(CGRect)rect {     //conchRuntime renderFrame     [self.m_pConchRuntime renderFrame];     NSLog(@"----------------------%s----------------------", __FUNCTION__); } 2019-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

73. 二次开发 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...8StringEncoding]; [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"testAsyncCallback:" ret:jsonStr]; }); } 注意: (1)函数参数只支持布尔、浮点、字符串等基本类型,支持返回值。原生函数运行在脚本线程,更新UI需要转到UI...

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

74. Animation创建和销毁的问题 [ 42%]

...his, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testAnim1 = null; testAnim2.clear(); testAnim2.removeSelf(); testAnim2 = null; Loader.clearRes("r...

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

75. 求ShuriKenParticle3D用法 [ 41%]

...erial;                 }                 let self = this;                 Laya.timer.loop(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });   ...

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

76. 微信小游戏提审后,提示说代码侵权 [ 39%]

...pContent.replace(regExp, "this." + name2 + ")"); var regExp2 = new RegExp("self."+name + "\\(", 'gi'); phpContent = phpContent.replace(regExp2, "self." + name2s); } } //====增加干扰代码================================================================== let arr2 = phpContent.split("\n"); //conso...

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

77. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 35%]

...") // loadLib("libs/laya.physics3D.wasm.js") //-----libs-end------- //-----self-libs----- loadLib("libs/common/Tool.js") loadLib("libs/common/CameraMoveScript.js") loadLib("js/bundle.js"); 测试安卓平台打包异常   具体日志  10-15 16:43:46.702: I/LayaBox(3503): alert=出错啦,请把...

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

78. 构建app闪退,测试app扫码可以运行 [ 21%]

...e/java_vm_ext.cc:470]   | group="main" sCount=0 dsCount=0 obj=0x12d04940 self=0x8a14c300 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470]   | sysTid=8265 nice=0 cgrp=default sched=0/0 handle=0x897ca920 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello ...

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