Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

GameObjectUtility.GetNavMeshLayer

static function GetNavMeshLayer(go: GameObject): int;
static int GetNavMeshLayer(GameObject go);
static def GetNavMeshLayer(go as GameObject) as int

Description

Get the navmesh layer for the GameObject.