Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Obsolete
GetNavMeshArea instead.

GameObjectUtility.GetNavMeshLayer

Switch to Manual
public static function GetNavMeshLayer(go: GameObject): int;

Parameters

Description

Get the navmesh layer for the GameObject.