Exemple #1
0
    private void OnEnable()
    {
        thisObject = (WaypointCreator)target;

        // Make sure the AstarPath object has been loaded
        AstarPath.FindAstarPath();

        AstarPath.active.Scan();

        thisObject.Initialize();
    }
 // Token: 0x06000017 RID: 23 RVA: 0x00002307 File Offset: 0x00000507
 public static string[] FindTagNames()
 {
     AstarPath.FindAstarPath();
     if (!(AstarPath.active != null))
     {
         return(new string[]
         {
             "There is no AstarPath component in the scene"
         });
     }
     return(AstarPath.active.GetTagNames());
 }