diff options
Diffstat (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs')
-rw-r--r-- | Assets/Scripts/Unit/Controller/UnitController.cs | 6 |
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 |