FindAllGraphSurfaces() public static method

public static FindAllGraphSurfaces ( ) : void
return void
Esempio n. 1
0
 public override IEnumerable <Progress> ScanInternal()
 {
     TriangleMeshNode.SetNavmeshHolder(AstarPath.active.data.GetGraphIndex(this), this);
     if (!Application.isPlaying)
     {
         RelevantGraphSurface.FindAllGraphSurfaces();
     }
     RelevantGraphSurface.UpdateAllPositions();
     foreach (Progress progress in this.ScanAllTiles())
     {
         yield return(progress);
     }
     yield break;
 }
Esempio n. 2
0
        protected override IEnumerable <Progress> ScanInternal()
        {
            TriangleMeshNode.SetNavmeshHolder(AstarPath.active.data.GetGraphIndex(this), this);

            if (!Application.isPlaying)
            {
                RelevantGraphSurface.FindAllGraphSurfaces();
            }

            RelevantGraphSurface.UpdateAllPositions();


            foreach (var progress in ScanAllTiles())
            {
                yield return(progress);
            }


#if DEBUG_REPLAY
            DebugReplay.WriteToFile();
#endif
        }