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

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

21. normalizedViewport修改问题 [ 67%]

.../** *获取裁剪空间的视口。 *@return 裁剪空间的视口。 */ __getset(0,__proto,'normalizedViewport',function(){ if (!this._viewportExpressedInClipSpace){ var vp=this._viewport; var size=this.renderTargetSize; var sizeW=size.width; var sizeH=size.height; this._normalizedViewport.x=vp.x /...

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

22. 设置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

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

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

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

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

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

25. 我看到这段话后,我 [ 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

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

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

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

28. 1.0版本BUG反馈-图片窜图BUG [ 57%]

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

29. Laya api 中可能的bug [官方来看] [ 57%]

...。值越大,越靠上。默认为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

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

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

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