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

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

331. 为什么list的datasoure赋值之后不能滑动 [ 69%]

...我建一个简单demo是可行的,,可是我放到自己项目中; for(var i =0 ;i < 10 ; i++) { score_data.push({ju_num:{text:i},score1:{text : i}}); } this.score_list.dataSource = score_data; this.score_list.vScrollBarSkin = "";(如果不加滚动条,是能显示出来值...

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

332. 新手引导 挖洞 不用 cacheAs="bitmap" 希望能帮助那些和我一样有需求的码农!你好我好大家好才是真的好!请各位大佬批评指教! [ 69%]

... columnEnd = 0;             let i = 0;             for (i=starI; i<=endI ; i+=4)             {                 columnStart = (phoneW*row+x)*4;                 columnEnd = (phoneW*row+x+tw)*4;                 if( (...

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

333. layadcc 热更新 启动app 报错 apploader.js:338: 急 [ 68%]

...  TypeError: Cannot read property 'length' of undefined             for (var i = 0; i < text.length; i++) {                                      ^^                  TypeError: Cannot read property 'length' of undefined 2019-08-30 添加评论 免费帖 --> 分...

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

334. [LayaNative3]游戏致命bug,WEB 性能是 native 性能 35倍 ,请求紧急修复 [ 68%]

...。     var loadList: Array<string> = [];//70张图片         for (let i = 1; i < 70; i++) {                         loadList.push("resources/test/a ("+i+").png");         }          let nt = Date.now();         Laya.loader.load(             loadList, ...

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

335. 关于Tween类多个对象同时缓动的时候过一段时间会不同步 [ 68%]

...执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(tempItem); // this.playAni(tempItem,new Point(0,-20),0); } }...

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

336. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 68%]

...渲染事件中,目前laya支持的Camera事件如下: ```typescript BeforeForwardOpaque = 0,//在渲染非透明物体之前 BeforeSkyBox = 2,//在渲染天空盒之前 BeforeTransparent = 4,//在渲染透明物体之 BeforeImageEffect = 6,//在后期处理之前 AfterEveryThing = 8,//所有渲...

来源: Laya2.0_文档 发布时间: 20210715

337. @regClass编译报错! [ 68%]

...ind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;     for (var i = decorators.length - 1, decorator; i >= 0; i--)       if (decorator = decorators[i])         result = (kind ? decorator(target, key, result) : decorator(result)) || result;     if (kind && resu...

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

338. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 68%]

...de2.getChildAt(0).getChildAt(0); //历遍蒙皮网格节点的材质列表 for (var i:int = 0; i (图6)

来源: Laya2.0_文档 发布时间: 20210715

339. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 68%]

.... 在代码里给 List 对象赋值。 ```javascript var data: Array = []; for(var m:number =0;m ​ (图6) ####8. 在代码里添加脚本,隐藏滚动条,设置拖拽的橡皮筋效果。 ```javascript m_list.scrollBar.hide = true;//隐藏列表的滚动条。 m_list.scrollBar.elasticBackT...

来源: Laya2.0_文档 发布时间: 20210715

340. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 68%]

...e[0]; } 翻译后的JS: storeString=function(type,__value){ var value=[];for(var i=1,sz=arguments.length;i<sz;i++)value.push(arguments[i]); var a=value[0]; } 这个时候的value变成了两层数组了,拿出来a是__value的这个数组。而不是第一个参数

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