Skip to main content

Interface INavigationService

Deprecated

This API is deprecated and may be removed in a future release.

A service that provides navigation-related functionality (i.e. waypoints).

[Obsolete]
public interface INavigationService : IUnityGameService

Implements​

IUnityGameService

Methods​

GetDestination()​

Returns the current destination position.

Vector3 GetDestination()

Returns​

Vector3 — The target destination as a Vector3.

TryGetDestination(out Vector3)​

Attempts to get the current destination position.

bool TryGetDestination(out Vector3 destination)

Parameters​

NameTypeDescription
destinationVector3The destination if available.

Returns​

bool — True if the destination was successfully retrieved; otherwise, false.

  • Methods
    • GetDestination()
    • TryGetDestination(out Vector3)