From 8b04ea73e540067f83870b61d89db4868fea5e8a Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:00:37 +0800 Subject: *misc --- Assets/Scripts/Unit/Controller/UnitController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs') diff --git a/Assets/Scripts/Unit/Controller/UnitController.cs b/Assets/Scripts/Unit/Controller/UnitController.cs index 971eea62..06d5a840 100644 --- a/Assets/Scripts/Unit/Controller/UnitController.cs +++ b/Assets/Scripts/Unit/Controller/UnitController.cs @@ -251,7 +251,6 @@ public class UnitController : MonoBehaviour/*, Interactable*/ transform.position = pos; } - // 生成当前的快照 public UnitSnapshotInfo TakeSnapshot() { UnitSnapshotInfo snapshot = new UnitSnapshotInfo(); @@ -262,4 +261,9 @@ public class UnitController : MonoBehaviour/*, Interactable*/ return snapshot; } + public UnitSnapshotInfo TakeSnapshotClosestDashPose(bool forward = true) + { + UnitSnapshotInfo snapshot = new UnitSnapshotInfo(); + return snapshot; + } } \ No newline at end of file -- cgit v1.1-26-g67d0