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

大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)

641. 鼠标交互-拖动 [ 40%]

...果) this.ape.startDrag(dragRegion, true, 100); } } new Interaction_Drag();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; ...

来源: Laya2.0_示例 发布时间: 20241001

642. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 40%]

...tsConfigUrl]; let tscurl = path.join(this.BaseURL.split("bin")[0], "./node_modules/.bin/tsc.cmd"); child_process.execFile(tscurl, cmd, (err, stdout, stderr) => { if (err) { console.log(err, '\n', stdout, '\n', stderr); } start(err); }); 复制代码[/code] 改为[code] let cmd = "tsc -b " + tsCon...

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

643. 区块地图-等角地图 [ 40%]

...iusX, radiusY, 0, radiusY * 2, color); Laya.stage.addChild(sprite); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handl...

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

644. 导出带动作的模型会报错 [ 40%]

...tyEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, Unit 2019-12-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

645. 【Laya2.1BUG】 给view设置runtime后,类型是any [ 40%]

...nes=tCode.split("\n"); tStr=tCodeLines.shift(); while(tStr.indexOf("export module")<0){ tStr=StringTool.trimSide(tStr); if(preStr.indexOf(tStr)<0){ preStr+=tStr+"\n"; } tStr=tCodeLines.shift(); } if(i==0){ tCodeLines.splice(0,0,tStr); } if(i!=len-1){ tStr=tCodeLines.pop(); while(tStr.indexOf("...

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

646. LayaAirIDE 2.0 laya.wxmini.js 第3行报错! 创建3D项目(TypeScript),导出微信小游戏,选择了JS混淆,崩溃在 laya.wxmini.js 第3行,错误如下 [ 39%]

...-------------------------- define("libs/laya.wxmini.js", function(require, module, exports, process){ "use strict"; window = window || global, window.layalib || (window.layalib = function (i, e) {   (window._layalibs || (window._layalibs = )).push({ f: i, i: e }); }), window.layalib(function (i, e,...

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

647. 报无法找到资源,未升级ide之前不报错 [ 39%]

...;绘制图形以后,怎么删除释放资源? 模型资源释放问题 module写法的模块无法使用,其他地方使用会报错 分享:LayaAir下如何获取图集下的小图资源? ios升级到15.4后游戏会一直闪屏,可重现demo见附件 编辑了图片 执行代码说加载...

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

648. 区块地图-等角地图 [ 39%]

...olor); Laya.stage.addChild(this.sprite); } } new TiledMap_IsometricWorld();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handl...

来源: Laya2.0_示例 发布时间: 20241001

649. 音频-播放演示 [ 38%]

...; } onComplete() { console.log("播放完成"); } } new Sound_SimpleDemo();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; ...

来源: Laya2.0_示例 发布时间: 20241001

650. 音频-播放演示 [ 38%]

...nComplete)); } function onComplete() { console.log("播放完成"); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; ...

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