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

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

61. 我想在拖动startDrag时,根据X的值助理其它的业务 [ 55%]

...er { return this._x; } public set x(value: number) { this._x = value; this.event(XYImage.SPRITE_PROPERTY_CHANGE, { "x": this._x }); } Monica • 2017-11-01 12:15 好的,多谢分享。有问题再联系~

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

62. ProgressBar 代码问题 [ 54%]

...popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.popup(true);     Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onl...

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

63. [LayaAir3]list.selectHandler [ 53%]

...e.log(this.btn.selected); }break; shiyang • 2024-10-28 09:48 可以判断event.type == click执行你的逻辑 学思无涯 • 2024-10-28 10:43 @shiyang:赞赞赞

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

64. laya.display.Stage [ 53%]

... All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage ...

来源: laya_api 发布时间: 20170929

65. LAYABOX游戏实时语音之APP版本 [ 52%]

...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

66. laya.display.Input [ 52%]

... All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框...

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

67. 关于截屏的问题 [ 52%]

...1:48:56.524 1040-1438/? D/PowerManagerService: userActivityNoUpdateLocked: eventTime=160233968, event=2, flags=0x0, uid=1000 06-09 11:48:56.524 1040-1438/? D/PowerManagerNotifier: onUserActivity: event=2, uid=1000 06-09 11:48:56.524 1040-1438/? D/PowerManagerService: updateUserActivitySummaryLocked:...

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

68. 重力感应 Accelerator 发布微信游戏后失效。是因为什么? [ 51%]

...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) {         let x = accelerationIncludingGravity.x;         let y = accelerationIn...

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

69. laya.display.Stage [ 51%]

... All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage ...

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

70. 引擎中的修改意见 [ 51%]

...}else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (va...

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