Fr2
September 13, 2019, 10:21am
1
I’m trying to figure out why some objects are not included when
NavMeshBuilder.CollectSources() is called, for example from NavMeshSurface (from the GitHub NavMeshComponents).
Is the UnityEditor.AI.NavMeshBuilder source closed?
Edit: Think I’ve found it:
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Collections.Generic;
using UnityEngine.Bindings;
namespace UnityEngine.AI
{
[NativeHeader("Modules/AI/Builder/NavMeshBuilder.bindings.h")]
[StaticAccessor("NavMeshBuilderBindings", StaticAccessorType.DoubleColon)]
public static class NavMeshBuilder
{
public static void CollectSources(
Bounds includedWorldBounds, int includedLayerMask, NavMeshCollectGeometry geometry, int defaultArea,
List<NavMeshBuildMarkup> markups, List<NavMeshBuildSource> results)
{
if (markups == null)
throw new ArgumentNullException(nameof(markups));
This file has been truncated. show original