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

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

841. layacmd安装失败 [ 62%]

...5897 verbose stack Exit status 1 5897 verbose stack     at EventEmitter.<anonymous> (D:\SDK\node.js\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16) 5897 verbose stack     at emitTwo (events.js:126:13) 5897 verbose stack     at EventEmitter.emit (events.js:214:7) 5897 verbose...

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

842. laya.d3.core.MeshRenderer [ 62%]

...,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例材质列表,第一次使用会拷贝实例对象。 BaseRender receiveShadow : Boolean 获得是否接收阴影属性 BaseRender sharedMaterial : BaseMaterial 返回第一个材质。...

来源: Laya2.0_api 发布时间: 20190513

843. [LayaAirIDE3]layaairIde 在mac系统中运行没有界面。mac 版本 10.15.7 ,node 20.11.1,npm 10.2.4, [ 62%]

...LayaAirIDE.app/Contents/Resources/app.asar/main.js:2:303404)     at App.<anonymous> (/Applications/LayaAirIDE.app/Contents/Resources/app.asar/main.js:2:314224)     at App.emit (node:events:527:28)     at BrowserWindow.<anonymous> (node:electron/js2c/browser_init:33:560)     at Br...

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

844. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 62%]

...Changed=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._strokeColors)this._text.strokeColo...

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

845. laya animation播放图片集合,切换时会闪烁一下 [ 62%]

...QZONE 微信 风信子 赞同来自: private createAnimation(images: Array<string>): Laya.Animation { this.animation = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return  this.animation } 我...

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

846. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 61%]

...Int32Array(new SharedArrayBuffer(4))             // also filters out NaN, non-number types, including empty strings, but allows bigints             const valid = ms > 0 && ms < Infinity              if (valid === false) { ...

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

847. 模拟石头下落过程不明抖动 [ 61%]

...IGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; fairygui.UIConfig.defaultFont = "微软雅黑"; Laya.stage.scaleMode = Stage.SCALE_FIXED_WIDTH; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; //设置横竖屏 Laya.stage.bgColor = "#232628"; // Laya.stage.frameRate = "show"; //注册扩展时需...

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

848. 使用命名空间遇到的问题 [ 61%]

...名空间,你import的时候就会有问题。 ts里官方可以用/// <reference path="A.ts" />来引用到其他文件中的类。 但是laya在编译的时候,并没有把其他文件的ts转换到bundle.js中。导致在运行过程中找不到。 laya只处理了import  {A} from ".....

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

849. Laya.Timer.clear 的源码可能有个问题。 [ 61%]

...隔1s, 执行一次 b 函数(行为),最多执行6次 for(let i = 0; i < 6; i++){ Laya.timer.once(i * 1000, this, this.b, [i], false); } //遇到一些需求变化,我希望在2s之后(可能其它某些触发情况), 停止执行 b 函数(行为) Laya.timer.once(2000,this,()=>{ Laya.t...

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

850. laya接入fairyGUI的时候资源加载方式? [ 61%]

...: /** * FUI资源加载类 * jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最...

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