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

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

141. 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function [ 47%]

...t (http://stand.alone.version/libs/laya.d3.js:15497:55)         at new Main (http://stand.alone.ve     构建APP时选择的单机版,Native版本是 release2.0.1 用Android Studio打出apk包,运行是报这个错误,进不去游戏,麻烦看一下是什么原因 2019-03-07 1 条评...

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

142. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 44%]

...514-6514/com.vivo.vs V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {25a03ee} 10-13 17:31:15.881 6514-6514/com.vivo.vs I/LibraryLoader: Expected native library version number "",actual native library version number "" 10-13 17:31:15.881 6514-6514/com.vivo.vs I...

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

143. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 43%]

...tage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); dire...

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

144. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 42%]

...tage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); dire...

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

145. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 41%]

...dChild(scene); //获取摄像机 var camera:Camera = scene.getChildByName("Main Camera") as Camera; //清除摄像机的标记 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color ...

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

146. Laya中Button等组件lose skin的问题 [ 40%]

...aya.URL.basePath ="https://xxx.com/";     //实例UI界面     var Main: MenuPageUI = new MenuPageUI();     Laya.stage.addChild(Main); } 在我找原因的时候,我发现主要是和设置了基础路径有关,也发现了3种可以正常展示飞机的做法。 做法A:直接将L...

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

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

...动chrome出现错误: Error processing launch: Error Could not attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 谷歌浏览器播...

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

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

...动chrome出现错误: Error processing launch: Error Could not attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 谷歌浏览器播...

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

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

...estQiao/Documents/Laya/LayaProject1/release/harmony/LayaProject1/entry/src/main/ets/MainAbility/MainAbility.ts:4:18 Currently module for 'liblaya.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is pro...

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

150. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 27%]

...rollup-plugin-glsl')); let cache; const config = { input: projPath + '/src/Main.ts', output: { file: projPath + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: true, }, cache: cache, watch: { include: 'src/**', exclude: 'node_modules/**', }, onwarn: (waring, warn) => { if (waring.co...

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