// Clears the last Path public void ClearPath() { if (Behaviours.ContainsKey(SteeringType.PathFollowing)) { PathFollowing B = (PathFollowing)Behaviours[SteeringType.PathFollowing]; B.SetPath(null); } }
// Orders the Unit to move following the provided Path public void Move(Path Path) { if (Behaviours.ContainsKey(SteeringType.PathFollowing)) { PathFollowing B = (PathFollowing)Behaviours[SteeringType.PathFollowing]; B.SetPath(Path); } }