大约有 17 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...写死只能获取第一个 /** *设置动画数据。 *@param uiData */ __getset(0,__proto,'effectData',null,function(uiData){ if (uiData){ var aniData=uiData["animations"]; if (aniData && aniData[0]){ var data=aniData[0]; this._setUp({},data); if (data.nodes && data.nodes...
来源: Laya_社区 发布时间: 20181019
...了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
...ject", MyTestSettingsType); } 配置创建后,UI进程可以通过Editor.getSettings访问配置数据,然后进行读写,例如: let data = Editor.getSettings("MyTestSettings").data; data.option2 = "hello"; 配置是自动载入和保存的,无需手动操作。 场景进程可以通过Ed...
来源: Laya3.0_文档 发布时间: 20251010
...成这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; ...
来源: Laya_社区 发布时间: 20180507
...。值越大,越靠上。默认为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
...在源码里面去改 但是失败了.... 看到这个东西是用一个_getset的方法封起身的.... 感觉连框架内部这个属性都是只读的... 如果是这样的话 那么就问题大了.... Monica • 2017-08-18 15:44 背景拉伸,屏幕不拉伸的话,你可以在index.html中使...
来源: Laya_社区 发布时间: 20170818
...A = <IA>item; items.push(temp); } 5.get,set ts里面父类定义的getset,子类必须要全覆盖下,不能只处理get或set,如: class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } } class B...
来源: Laya_社区 发布时间: 20161109