文档

Unity Engine

Unity Engine

IsLinkValid(NavMeshLinkInstance)

Determines whether the link instance is part of the current data used for navigation.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static bool IsLinkValid(NavMeshLinkInstance handle)

Parameters

The identifier of the link instance to check.

Returns

Type

Description

boolTrue if the NavMesh link is added to the navigation system - otherwise false.