大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
...图片和音频资源,加载方式如下: var resArray: Array<any> = [ { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS }, { url: "Images/BG_Gray.png", type: Laya.Loader.IMAGE }, { url: "Image...
来源: Laya_社区 发布时间: 20191030
...izidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) => { //模版复用 let y = 400; let unitWidth = Laya.stage.width / 16; for (let i = 0; i < 16; i++) { let person = templet.buildArmature(); Laya.stage.addChild(person); person.x = i * unitWidth; person.y = y; person.pl...
来源: Laya_社区 发布时间: 20220530
...ned at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:5:68) at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:24:3) at eval (<anonymous>) at AA.__proto.complete (AA.max.js:410) at EventHandler.__proto.runWith (AA.max.js:674) ...
来源: Laya_社区 发布时间: 20170726
...__tests__/Functions.test.tsx/// <reference path="../src/Functions.ts" /> import fs = require('fs'); import vm = require('vm'); let path = __dirname + "/../bin/js/Functions.js"; let code = fs.readFileSync(path, {encoding:'utf8'}); vm.runInThisContext(code); describe('Functions', function() { it...
来源: Laya_社区 发布时间: 20181214
...require (http://127.0.0.1:16026/game/__ ... :96033) at <anonymous>:1:1 at HTMLScriptElement.scriptLoaded (<anonymous>:18:21) at HTMLScriptElement.script.onload (<anonymous>:30:20) 2020-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20200326
...间中一点 OrientedBoundBox containsPoints(points:Vector.<Vector3>):int 该包围盒是否包含空间中多点 OrientedBoundBox containsSphere(sphere:BoundSphere, ignoreScale:Boolean = false):int 该包围盒是否包含空间中一包围球 OrientedBoundBox createByBoundBox(box:Bo...
来源: laya_api 发布时间: 20170929
...{ super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.rotation; this.VIEW_TURNTABLE.rotation = this.infos.rotation; }); } } 附件 : --> testMas...
来源: Laya_社区 发布时间: 20180720
...var curTime = new Date().getTime()'); __JS__('if ((curTime - last_update) > 100 && canShake == 1){var diffTime = curTime - last_update'); __JS__('last_update = curTime'); __JS__('x = acceleration.x'); __JS__('y = acceleration.y'); __JS__('z = acceleration.z'); __JS__('var speed = Math.abs...
来源: Laya_社区 发布时间: 20160110
... W Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) 2025-11-14 12:33:29.524 31047-31382 LayaBox I WebSocket onSocketCallback connection closing 75 reason 2025-...
来源: Laya_社区 发布时间: 20251020
...面是部分代码 this.cutLayer.graphics.clear(); for(i = this.lines.length - 1; i >= 0; i--){ var line = this.lines[i]; line.state++; if(line.state > 7){ this.lines.splice(i, 1); } this.cutLayer.graphics.drawLine(line.x1, line.y1, line.x2, line.y2, "#ffffff", this.lineBorder - line.state); }...
来源: Laya_社区 发布时间: 20180411