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

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

621. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 46%]

...焦点时执行回调,发送数据 onAwake(): void { this.owner.on(Laya.Event.BLUR, this, this.sendData) } //将玩家数据上传至云端 sendData() { //组织数据 let KVDataList = []; let text = Number(this.owner.text); if(!isNaN(text) && text >= 0 && text <= 9999) { thi...

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

622. LAYABOX游戏实时语音之APP版本 [ 46%]

...LoginView extends ui.LoginUI { constructor() { super(); this.login.on(Laya.Event.CLICK, this, this.Loginyim); this.joinroom.on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.MOUSE_UP, this, this.StopReco...

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

623. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 45%]

.../LayaProject1/release/harmony/LayaProject1/libSysCapabilities/src/main/ets/event/HandleMessageUtils.ts:2:18 Currently module for 'liblaya.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided an...

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

624. video在安卓手机上,怎么设置同层播放,还有怎么设置隐藏控制播放按钮 [ 45%]

...InArea设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Event.RESIZE, this, Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); }   2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

625. 2.2.0 Html使用img标签解析错误 [ 45%]

...后在HTMLImageElement的reset方法里加了一行:this._tex.off(Laya.Event.READY, this, this.onloaded); 其他没区别 133*****831 • 2019-10-29 14:10 嗯,升级2.3.0版本,Unity3D也要升级2018.4了,看样子无解了,直接升级了

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

626. layacmd在centOS 6.5上运行出错 [ 45%]

....0-linux-x64/lib/node_modules/layacmd/layacmd-publish.js:70:5) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 2017-12-11 添加评论 免费帖 --> 分享 ...

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

627. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 44%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

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

628. 关于laya生成的canvas定位问题导致内部事件不正确 [ 43%]

... img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya....

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

629. 使用3D UI · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

... void { this.bar.value = 1; this.value.visible = false; Laya.stage.on(Laya.Event.CLICK, this, this.onHurt); } onHurt(): void { this.bar.value = this.bar.value - 0.9; this.value.y = 35; this.value.visible = true; Main.instance.animator.play("stun"); Laya.Tween.create(this.value).to("y", -30).duration...

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

630. SCALE_FIXED_WIDTH适配屏幕的问题 [ 43%]

...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2019-05-11 16:44 浏览: 973 关注: 2 人

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