大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)
Laya_社区(659) Laya2.0_文档(61) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(25) Laya3.0_api(3) Laya2.0_api(1)
...ate function aniUrls(aniName:String,length:int):Array { var urls:Array=[]; for(var i:int=0;i(图6) 我们继续沿用之前的示例,在onLoaded方法中添加play()。 onLoaded方法中的代码如下所示 ```java private function onLoaded():void { //添加到舞台 Laya.stage.addChild(roleA...
来源: Laya2.0_文档 发布时间: 20210715
...nMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image...
来源: Laya_社区 发布时间: 20180724
...amp;& this.scaleX >= 0.5) { this.scaleX -= 0.1; this.scaleY -= 0.1; for (var i = 0; i < this.nodes.length; i++) { this.nodes[i].scaleX += 0.1; this.nodes[i].scaleY += 0.1; } } else if (e.delta < 0 && this.scaleX <= 1.5) { this.scaleX += 0.1; this.scaleY += 0.1; for (var i = 0...
来源: Laya_社区 发布时间: 20180211
...le); //我自己添加的部分 if(this._getCSSStyle()._getValign() == 1){ for(var i = 0; i < this._childs.length; i++){ var e = this._childs[i]; if(e instanceof HTMLElement && e._text.words){ for(var j = 0; j < e._text.words.length; j++){ var w = e._text.words[j]; w.y = (this.height -...
来源: Laya_社区 发布时间: 20180104
...则 //获取Node插件和工作路径 let ideModuleDir; let workSpaceDir; for(var argv of process.argv) { if(argv.indexOf("--cwd=") == 0) { ideModuleDir = argv.split("=")[1] + "\\node_modules\\"; } else if(argv.indexOf("--gulpfile=") == 0) { workSpaceDir = argv.split("=")[1].replace("/.laya/compile....
来源: Laya_社区 发布时间: 20200607
...ntIntance(pointRB1); let preBody = pointRB1; let width = 20, height = 2.5; for (let i = 0; i { let targetX = (300 + Math.random() * 400) / Laya.Physics.PIXEL_RATIO, targetY = 500 / Laya.Physics.PIXEL_RATIO; let newBall = new Laya.Sprite(); Laya.Laya.stage.addChild(newBall); let circleBody = newBall....
来源: Laya2.0_示例 发布时间: 20241001
...//所有的红点数据索引都增加 if (this.redHotStatus.length > 0) { for (let i = 0; i { //更新list数据源 this.refreshList.array = _arr; this.refreshList.scrollTo(line); //将选中索引设定为该索引 this.refreshList.selectedIndex = index; //恢复滚动条到原位 this.scrollBarIs...
来源: Laya2.0_示例 发布时间: 20241001
...86 in file ../LayaRuntime-iOS/libs/libcurls.a (3 slices) Undefined symbols for architecture i386: "_OBJC_IVAR_$_conchConfig.m_nEnterPlatformType", referenced from: -[MarketAppStore getEnterPlatformType] in MarketAppStore.o "_OBJC_CLASS_$_LayaPlatformCallback", referenced from: objc-class-ref in Mark...
来源: Laya_社区 发布时间: 20161222
...; } function createAPIList(api_list_view) { let data = []; for (let i = 0; i < 10; i++) { let text_view = createTextView("12345", "black", 18, innerWidth, 35, "white"); data.push(text_view) } return data; } function drawAPIList() { ...
来源: Laya_社区 发布时间: 20180724
...):void { if(!MiniAdpter.isZiYu) { var atlasJson:Object = Loader.getRes(URL.formatURL(url)); if(atlasJson) { var textureArr:Array = (atlasJson.meta.image as String).split(","); //构造加载图片信息 if (atlasJson.meta && atlasJson.meta.image) { //带图片信息的类型 var toloadPics:A...
来源: Laya_社区 发布时间: 20180830