大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0016 秒)
....removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Event } from "laya/events/Event"; import { BoxCollider } from "laya/physics/BoxCollider"; import { ChainCollider ...
来源: Laya2.0_示例 发布时间: 20241117
...emoveChild(this.label); } } new Physics_Physics_Tumbler(); import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Browser } from "laya/utils/Browser"; import { RigidBody } from "laya/physics/RigidBody"; import { WebGL } from "l...
来源: Laya2.0_示例 发布时间: 20241117
... Tween.to(characterA, { x : terminalX }, 1000); // characterB使用Tween.from缓动 characterB.x = terminalX; Tween.from(characterB, { x:0 }, 1000); } createCharacter(skin) { const Sprite = Laya.Sprite; let character = new Sprite(); character.loadImage(skin); Laya.stage.addChild(character); return c...
来源: Laya2.0_示例 发布时间: 20241117
...], a[1] - b[1]]; } } new Physics_Physics_Strandbeests(); import { Config } from "Config"; import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Event } from "laya/events/Event"; import { BoxCollider } from "laya/physics/BoxCol...
来源: Laya2.0_示例 发布时间: 20241117
...} private function onMessageReveived(message:*=null):void { trace("Message from server:"); if (message is String) { trace(message); } else if (message is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function onConnectError(e:Event=null):void { trace("erro...
来源: Laya2.0_示例 发布时间: 20241117