summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/Controller/UnitController.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:00:37 +0800
committerchai <chaifix@163.com>2022-03-10 14:00:37 +0800
commit8b04ea73e540067f83870b61d89db4868fea5e8a (patch)
tree7f312b7f3df1503d6fa9f95d430ca7c8d0372eb0 /Assets/Scripts/Unit/Controller/UnitController.cs
parent142b0b9264d9b8da81f173ec92d153d52f67ae06 (diff)
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs')
-rw-r--r--Assets/Scripts/Unit/Controller/UnitController.cs6
1 files changed, 5 insertions, 1 deletions
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