大约有 827 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(668) Laya2.0_文档(61) Laya_示例(34) Laya3.0_文档(30) Laya2.0_示例(30) Laya3.0_api(3) Laya2.0_api(1)
...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_示例 发布时间: 20251209
...; } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var i = this.mapFloor.numChildren - 1; i > -1; i--){ var floor = this.mapFloor.getChildAt(i); //检测人物是否踩在地板上面了 if(floor.checkHit(this.player.x, this.player.y)){ //人物如果踩到地板了 ...
来源: Laya_社区 发布时间: 20160803
... if(!touchemoves)break; for (j = 0, n = touchemoves.length; j < n; j++) { _this.initEvent(touchemoves[j], evt); _this.check(_this._stage, _this.mouseX, _this.mous...
来源: Laya_社区 发布时间: 20170510