From 07fd372981a16672af23e30816ade14fcb744804 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 30 Aug 2021 13:49:30 +0800 Subject: =?UTF-8?q?=E5=87=BB=E4=B8=AD=E5=8F=8D=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Unit/Controller/PCController.cs | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'Assets/Scripts/Unit/Controller/PCController.cs') diff --git a/Assets/Scripts/Unit/Controller/PCController.cs b/Assets/Scripts/Unit/Controller/PCController.cs index 5ad3abc1..93228d31 100644 --- a/Assets/Scripts/Unit/Controller/PCController.cs +++ b/Assets/Scripts/Unit/Controller/PCController.cs @@ -8,7 +8,9 @@ public class PCController : UnitController { public static PCController instance; - private void Awake() + public override UnitType type { get { return UnitType.PC; } } + + private void Awake() { instance = this; } @@ -29,4 +31,21 @@ public class PCController : UnitController base.Update(); } + public override void OnHit(CollisionInfo info) + { + } + + public override void OnGetHit(CollisionInfo info) + { + } + + public override void OnGrab() + { + } + + public override void OnPull() + { + } + + } -- cgit v1.1-26-g67d0