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

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

1761. laya支持的发布模式有哪些? [ 44%]

...打开调试面板。 开启debug模式后 1.编译代码将增加int,uint,Number,String的类型判断,都将被翻译成if(!__DEBUGTYPE__(判断对象,判断类型))debugger,如果检测对象非指定类型,即会中断程序运行,并在检测到问题的代码处自动断点。   2.编译...

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

1762. 全局安装layaair2-cmd报错怎么办啊 [ 44%]

...s@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. ...

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

1763. 缓动-简单的Tween [ 44%]

...gColor = "#232628"; this.setup(); } private setup(): void { var terminalX: number = 200; var characterA: Sprite = this.createCharacter("../../res/cartoonCharacters/1.png"); characterA.pivot(46.5, 50); characterA.y = 100; var characterB: Sprite = this.createCharacter("../../res/cartoonCharacters/2.pn...

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

1764. UI-Input [ 44%]

...omplete));//加载资源。 } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: TextInput = this.createInput(this.skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * this.SPACING + this.Y_OFFSET; } } private...

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

1765. 这样的panel请问如何实现比较好? [ 44%]

...layoutSecond.visible = false; } //点击切换状态 private change(state: number, e: Laya.Event) { e.stopPropagation(); this.state = state; this.layoutSecond.visible = (state === 0); this.btnFirst.visible = (state !== 0);  } }   2.定义一个界面,界面上放一个Panel(因为要滑动) clas...

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

1766. UI-Input [ 44%]

...omplete));//加载资源。 } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: TextInput = this.createInput(this.skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * this.SPACING + this.Y_OFFSET; } } private...

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

1767. 音频 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...(背景音乐或音效)的音量。 */ static setSoundVolume(volume: number, url: string = null): void { if (url) { SoundManager._setVolume(url, volume); } else { SoundManager.soundVolume = volume; for (let i = SoundManager._channels.length - 1; i &gt;= 0; i--) { let channel = SoundManager._chan...

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

1768. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 44%]

...ART:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = fal...

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

1769. dcc下载超时 [ 44%]

...04 20:55:27.386: I/cr_LibraryLoader(7884): Expected native library version number "52.0.2743.100", actual native library version number "52.0.2743.100" 07-04 20:55:27.407: V/WebViewChromiumFactoryProvider(7884): Binding Chromium to main looper Looper (main, tid 1) {a21da91} 07-04 20:55:27.407: I/cr_...

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

1770. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 44%]

...templet:SpineTempletBinary; private skeleton:SpineSkeleton; private index: number = -1; constructor() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private startFun(): void { //创建动...

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