Debug.Log(" mask="+expectedAreaMask.ToString("x8")+" area "+expectedArea+" Exists="+areaExists+" otherAreasExist="+otherAreasExist+" at position "+pos);
if(otherAreasExist)
{
for(inti=0;i<32;i++)
for(vari=0;i<32;i++)
{
if(i==expectedArea)
continue;
...
...
@@ -264,9 +230,10 @@ public IEnumerator NavMeshSurfacePrefab_WhenInstantiated_ReferencesTheSameNavMes
StageUtility.GoToMainStage();
#if !KEEP_ARTIFACTS_FOR_INSPECTION
Object.DestroyImmediate(instance);
Object.DestroyImmediate(instanceClone);
#endif
yieldreturnnull;
}
...
...
@@ -292,8 +259,9 @@ public IEnumerator NavMeshSurfacePrefab_WhenEmptyAndInstantiated_InstanceHasEmpt