Vixen
02b45cc4
csharp
public struct NavigationDestination

Where an entity has been told to go.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A component rather than a method call, so that "go here" is a piece of data a prefab can carry, a command buffer can add, and a save file can hold. Version is what makes re-issuing the same destination mean something: bump it and the path is planned again, which is what a caller wants after the world has changed under a stale path.

Fields and properties (2)

  • public Vector3 Value

    Where to go, in world space.

  • public uint Version

    Increment to force a replan without moving the destination.

Used by (2)

  • NavigationSystemVixen.Navigation
  • NavigationSystemTestsVixen.Navigation.Tests