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

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

111. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. [ 56%]

...自: TypeLoadException: Could not load type 'UnityEngine.ImageConversion' from assembly 'LayaAirLibrary'. LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:...

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

112. [LayaAirIDE3]2d相机打包后问题 [ 56%]

... main代码 // Main.ts - 简化版异步加载 import { CameraController } from "./CameraController"; import { Joystick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sp...

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

113. layaair3D导出场景错误TypeLoadException [ 55%]

...错误TypeLoadException: Could not load type 'UnityEngine.ImageConversion' from assembly 'LayaAirLibrary'. LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs...

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

114. 用flashbuilder调试,图片资源显示不出来 [ 55%]

...同来自: 在flashbuilder的运行参数里面加了 --allow-file-access-from-files --allow-file-access-frome-files --disable-web-security 也不行呢? LayaAir用chrome怎么就没事呢? 2018-03-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

115. laya3.0中jszip使用异常 [ 55%]

...到dist目录下,改为jszip.d.ts,导入代码为: import * as JSZip from "../node_modules/jszip/dist/jszip"使用代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, nu...

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

116. 预设/场景的导出(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 54%]

...如下(这里我们直接修改GameUI类)。 ```typescript import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方式,继承式...

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

117. 2.4beta2版本ts实验版编译后自动生成js里面自动添加Laya前缀 [ 54%]

...出目录,必须在GameConfig文件目录下的ui目录,import { ui } from "./ui/layaMaxUI"; 2019-12-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cllc55 相关问题 2.0一不小心删了bin目录下的某个场景json文件。...

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

118. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 54%]

...icating whether to draw the render rectangle. When true, it starts drawing from (0,0) of the render texture and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture will be flipped vertica...

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

119. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 54%]

...u-1251177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://bookportal.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access. 2018-02-08 添...

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

120. 物理射线检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 53%]

...sSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`raycastAllFromTo`一类,`rayCast`,`rayCastAll`一类。我们将前面2个成为A类,后面为B类,我们来看下这两种方法的api: ![](img/1.png)(图1) ![](img/2.png)(图2) A类使用的是一个两...

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