示例#1
0
        private void SelectNewTarget()
        {
            Vector3 CurrentPosition   = transform.position;
            Vector3 NewTargetPosition = CalculateTargetPosition(CurrentPosition);

            navigation.SetNavigation(NewTargetPosition.ToCoordinates());
        }
示例#2
0
 private void NavigateToPosition(Vector3 position)
 {
     navigation.SetNavigation(position.ToCoordinates());
 }
 private void StartMovingTowardsPosition(Vector3 position)
 {
     navigation.SetNavigation(position.ToCoordinates());
 }