public static extern int GetNavMeshLayer(GameObject go); [MethodImpl(MethodImplOptions.InternalCall), Obsolete("GetNavMeshAreaFromName instead."), WrapperlessIcall]