ScriptReference/AI.OffMeshLinkData #102
Replies: 1 comment
-
Comment by David: When using var agent = GetComponent<NavMeshAgent>();
if (agent.isOnOffMeshLink)
{
var link = agent.navMeshOwner as NavMeshLink;
bool isFall = link != null && !link.bidirectional;
// ...
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/AI.OffMeshLinkData
https://docs.unity3d.com/ScriptReference/AI.OffMeshLinkData.html
Beta Was this translation helpful? Give feedback.
All reactions