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

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

661. 部署web后无法请求访问HTTP API接口数据,调试模式下可以访问获取 [ 49%]

...check: No 'Access-Control-Allow-Origin' header is present on the requested resource. 2020-06-09 添加评论 已悬赏50元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Sylar 赞同来自:      自己回复吧,我是这么解决...

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

662. 加载-加载序列 [ 49%]

...log("All done."); } } } } new laya.Loader_Sequence();package { import laya.resource.Texture; import laya.utils.Handler; public class Loader_Sequence { private var numLoaded:int = 0; private var resAmount:int = 3; public function Loader_Sequence() { Laya.init(500, 400); // 按序列加载 monkey2.png...

来源: Laya_示例 发布时间: 20260106

663. 通过PrimitiveMesh创建简单Mesh(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 49%]

...ayaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加载到场景...

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

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

...法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rollup->dist->rollup.js 修改 rollup.js 文件:将该文件的 16065 行注释掉,注释后的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: e...

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

665. 通过PrimitiveMesh创建简单Mesh(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 49%]

...ayaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加载到场景...

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

666. 关于新手引导 [ 49%]

...e view { import laya.display.Sprite; import laya.events.Event; import laya.resource.Context; import laya.utils.Browser; import laya.utils.HitArea; public class KouTu extends Sprite { private var box:Sprite; private var interactionArea:Sprite; private var maskArea:Sprite; private var guideContainer:S...

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

667. ts项目加载version.json失败 [ 49%]

...rsion.json失败 class GameMain{ constructor() { Laya.init(1280,760); Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.beginLoad)); } private beginLoad(): void { console.debug("aaaaaaaaaaaaaaaaa"); var img =...

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

668. 跑第一个HelloLayabox出现runtimeExecutable配置错误 [ 49%]

...ntimeExecutable at launch.then (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/laya-debug/out/bundle.js:153:31) 下面是默认脚本代码 { "version": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.h...

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

669. 加载-单一类型资源加载 [ 48%]

...new laya.Loader_SingleType();package { import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class Loader_SingleType { public function Loader_SingleType() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("../../../../res/apes/monkey0.png", Hand...

来源: Laya_示例 发布时间: 20260106

670. Linux构建 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...OpenGL即可。 3.2 打包资源 是否把为当前平台导出的资源(resource目录)打包到native项目中。打包的资源会放到特定的目录中,以供后续生成不同平台的App。 如果希望提供单机版,则必须选择打包资源,即勾选“打包资源”,并且...

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