From 4a9e11c48053577189b4e69073826c05f5926a97 Mon Sep 17 00:00:00 2001 From: YHH <359807859@qq.com> Date: Tue, 14 Sep 2021 18:24:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/bin/framework.d.ts | 2 +- source/bin/framework.js | 2 +- source/src/ECS/Components/Physics/Colliders/Collider.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/bin/framework.d.ts b/source/bin/framework.d.ts index 125f06fb..f30d5c16 100644 --- a/source/bin/framework.d.ts +++ b/source/bin/framework.d.ts @@ -1360,7 +1360,7 @@ declare module es { */ protected _isColliderRegistered: any; /** - * 镖师碰撞器的绝对位置 + * 表示碰撞器的绝对位置 */ readonly absolutePosition: Vector2; /** diff --git a/source/bin/framework.js b/source/bin/framework.js index 818fe5fd..31b26a83 100644 --- a/source/bin/framework.js +++ b/source/bin/framework.js @@ -3277,7 +3277,7 @@ var es; } Object.defineProperty(Collider.prototype, "absolutePosition", { /** - * 镖师碰撞器的绝对位置 + * 表示碰撞器的绝对位置 */ get: function () { return es.Vector2.add(this.entity.transform.position, this._localOffset); diff --git a/source/src/ECS/Components/Physics/Colliders/Collider.ts b/source/src/ECS/Components/Physics/Colliders/Collider.ts index 843e59cf..8ba12c86 100644 --- a/source/src/ECS/Components/Physics/Colliders/Collider.ts +++ b/source/src/ECS/Components/Physics/Colliders/Collider.ts @@ -44,7 +44,7 @@ module es { protected _isColliderRegistered; /** - * 镖师碰撞器的绝对位置 + * 表示碰撞器的绝对位置 */ public get absolutePosition(): Vector2 { return Vector2.add(this.entity.transform.position, this._localOffset);