大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0011 秒)
...aya.Point; let laser; if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; let pos1; let pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHe...
来源: Laya2.0_示例 发布时间: 20241118
...age = AwesomeMessage.create( { awesomeField: "AwesomeString" }); // Verify the message if necessary (i.e. when possibly incomplete or invalid) var errMsg = AwesomeMessage.verify(message); if (errMsg) throw Error(errMsg); // Encode a message to an Uint8Array (browser) or Buffer (node) var buffer = Aw...
来源: Laya2.0_示例 发布时间: 20241118