大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)
Laya_社区(659) Laya2.0_文档(61) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(25) Laya3.0_api(3) Laya2.0_api(1)
... android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section o...
来源: Laya_社区 发布时间: 20171218
...(RES.ONLOADGROUPERROR,"资源组名称不能为空"); return; } var group; for(var i in RES.groups){ var name = RES.groups[i].name; if(name == groupName){ group = RES.groups[i]; break; } } if(!group){ console.error("加载了不存在的资源组"); RES.getInstance().event(RES.ONLOADGROUPERROR,"加...
来源: Laya_社区 发布时间: 20161011
...optimizeScrollRect = true; box = cacheBox; } else { [b] var arr = []; [/b] for (var i = this._cells.length - 1; i > -1; i--) { var item = this._cells[i]; item.removeSelf(); arr.push(item); } this._cells.length = 0; } for (var k = startY; k < numY; k++) { for (var l = 0; l < numX; l++) { [b]...
来源: Laya_社区 发布时间: 20180418
....ContainmentType.Disjoint*/0){ var positions=meshCollider.mesh._positions; for (var i=0,n=positions.length;i < n;i++){ if (Collision.sphereContainsPoint(this.boundSphere,positions[i])===/*laya.d3.math.ContainmentType.Contains*/1) return true } return false; }else { return false; } break ; 上...
来源: Laya_社区 发布时间: 20181114
...复 cuixueying 赞同来自: 给你的input起有规律的命名,通过for给他们赋值! 2017-09-12 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liuhang123 相关问题 请问LayaAir中如何使图片以圆形的方式显示? ...
来源: Laya_社区 发布时间: 20170912
...l, Loader.ATLAS); })(); function createCharacters() { characterGroup = []; for(var i = 0; i = 0; --i) { animateCharactor(characterGroup[i]); } } function animateCharactor(charactor) { charactor.x += moveSpeed; charactor.rotation += rotateSpeed; if (charactor.x > Laya.stage.width + extraSpace) { char...
来源: Laya_示例 发布时间: 20240930
循环问题,求解啊11111111 for循环里有四个方法。怎么让循环的时候循环完一个方法之后在循环另一个方法 2019-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 176*****736 赞...
来源: Laya_社区 发布时间: 20190520
...itch/client/bird/bin/js/" #文件夹目录 fns = [os.path.join(root,fn) for root, dirs, files in os.walk(path) for fn in files] for f in fns: print(f) with open(f, "r+") as f: old = f.read() f.seek(0) f.write("\"use strict\";") f.write(old) print(len(fns)) ``` 2018-05-24 0 1 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170604
...nsorCollider.radius = 100; sensorCollider.x = 450; sensorCollider.y = 300; for (let i = 0, len = this.count; i = []; private touching: Array = []; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); Phys...
来源: Laya2.0_示例 发布时间: 20240930
... extraSpace = 50, moveSpeed = 2, rotateSpeed = 2, characterGroup; class PerformanceTest_Cartoon { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(...
来源: Laya2.0_示例 发布时间: 20240930