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

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

21. 设置fontSize的时候没做类型转换 [ 66%]

设置fontSize的时候没做类型转换 __getset(0,__proto,'fontSize',function(){ return this._fontSize; },function(value){ if (this._fontSize !=value){ this._fontSize=value; this.isChanged=true; } }); 如果设置fontSize="30",没有做类型转换,后面所有通过fontSize参与的加法...

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

22. List的selectHandler 点击同一个item只能触发一次回调 [ 66%]

...a.ui.js改成这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; this.changeSelectStatus(); this.event(/*laya.events.Event.CHANGE*/&quo...

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

23. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...ject", MyTestSettingsType); } 配置创建后,UI进程可以通过Editor.getSettings访问配置数据,然后进行读写,例如: let data = Editor.getSettings("MyTestSettings").data; data.option2 = "hello"; 配置是自动载入和保存的,无需手动操作。 场景进程可以通过Ed...

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

24. 我看到这段话后,我 [ 61%]

...了label",size:14},checkbox2:{selected:true,x:10}};     */     __getset(0,__proto,'dataSource',function(){         return this._dataSource;         },function(value){         this._dataSource=value;         for (var prop in this._dataSource){         ...

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

25. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 59%]

...) { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.inspect(data, "SplitAtlasSetting"); this.contentPane = panel; panel.on("click_start_gen", this.startGen, this); } protected onShown() { (this.contentPane as IEditor.InspectorPanel)...

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

26. Laya api 中可能的bug [官方来看] [ 58%]

...。值越大,越靠上。默认为0,则根据添加顺序排序。*/ __getset(0,__proto,'zOrder',function(){ return this._zOrder; },function(value){ if (this._zOrder !=value){ if(this.name.length > 0){ console.debug("zOrder:"+this.name+" order:"+value); } this._zOrder=value; this.conchModel &...

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

27. 1.0版本BUG反馈-图片窜图BUG [ 58%]

... • 2022-03-24 19:53 /** *获取唯一标识ID,通常用于识别。 */ __getset(0,__proto,'id',function(){ return String(this._$1__id); }); 158*****700 • 2022-03-24 19:53 目前我们先用这种方案调整,看后续游戏运行情况吧 158*****700 • 2022-03-24 15:40 1.8.1的版本 158****...

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

28. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 58%]

...) { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.allowUndo = true; panel.inspect(data, "SplitAtlasSetting"); this.contentPane = panel; this.title = "图集分割工具"; } protected onShown() { (this.contentPane as IEditor.Inspec...

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

29. list的selectHandler属性连续点击同一个item不能重复接收事件 [ 58%]

...成这样即可,去掉判断if (this._selectedIndex !=value)     __getset(0,__proto,'selectedIndex',function(){         return this._selectedIndex;         },function(value){         //if (this._selectedIndex !=value){             this._selectedIndex=value; ...

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

30. typeScript Java互调问题 [ 56%]

...        activity = this;         WebSettings webSettings = webView.getSettings();           webSettings.setJavaScriptCanOpenWindowsAutomatically(true);         webSettings.setJavaScriptEnabled(true);         webSettings.setSupportZoom(true);           webView.addJavascriptI...

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