大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya_社区(659) Laya2.0_文档(61) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(25) Laya3.0_api(3) Laya2.0_api(1)
...式 // Laya.stage.scaleMode = "noborder"; var test=new TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想看到的效果,个人对这个list.array不是很理解,...
来源: Laya_社区 发布时间: 20170503
... 韩韩韩韩韩爽a • 2019-04-02 16:22 更新到最新的引擎后,用for循环创建动画后,播放的时候只有一个可以播放出来,而使用其他的版本,这个问题还是存在 177*****610 • 2019-02-25 13:58 ok!
来源: Laya_社区 发布时间: 20190218
...er = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); for (ActivityManager.RunningAppProcessInfo processInfo : manager.getRunningAppProcesses()) { if (processInfo.pid == android.os.Process.myPid()) { return processInfo.processName; } } return null; }if (!Utils.getProcessName(thi...
来源: Laya_社区 发布时间: 20200829
...},function(value){ this._dataSource=value; for (var prop in this._dataSource){ if (this.hasOwnProperty(prop)&& !((typeof (this[prop])=='function'))){ this[prop]=this._dataSource[prop]; ...
来源: Laya_社区 发布时间: 20190803
...P Configure Display Language 安装中文语言包 Extensions 搜索 debug for Chrome 安装 修改 compile.js中的sourcemap属性修改为true 或者搜索sourcemap:修改false为true 修改config.json中sourceMap属性为true 打开main.ts onConfigLoaded() console.log('helloworld'); F9...
来源: Laya_社区 发布时间: 20200818
...this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging o...
来源: Laya_社区 发布时间: 20171124
...r posY = 0; var data: Array<any> = []; for(var i= 0 ;i< items.UserWareList.length;i++){ var itemList = new BagItem(items.icon,items.name,items.count); itemList.pos(70,posY); data.push(itemList...
来源: Laya_社区 发布时间: 20170310
...复 185*****013 赞同来自: 卡布 var arr:Array = target["_aniList"]; for each(var an:FrameAnimation in arr) { if(an.name=="show") { an.play(); } } 2019-02-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例 .show.play(0) 就行了 比如 var ss:soldieritem ...
来源: Laya_社区 发布时间: 20190215
...复 cuixueying 赞同来自: public function TestView() { var arr:Array=; for(var i:int=0;i<10;i++) { arr.push({my_clip:i}); } my_list.array=arr; my_list.renderHandler=new Handler(this,onRender); } private function onRender(cell:Box,index:int):void { // TODO Auto Generated method stub var cell:Bo...
来源: Laya_社区 发布时间: 20161030
...机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLigh...
来源: Laya_示例 发布时间: 20241002