This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
//Note this line, if it is left out, the script won't know that the class 'Path' exists and it will throw compiler errors | |
//This line should always be present at the top of scripts which use pathfinding | |
using Pathfinding; | |
public class AstarAI : MonoBehaviour | |
{ | |
//The point to move to | |
public Transform target; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ServiceProcess; | |
namespace AStarAlgorithm | |
{ | |
static class Program | |
{ | |
[STAThread] | |
static void Main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !DEBUG //Dont patch client while in DEBUG | |
if (VersionSplit.Length == 3) | |
{ | |
string[] versionArray = VersionString.Split('|'); | |
if (VersionSplit[0] != CurrentMD5) | |
{ | |
LogTextBox("LegendaryClient needs to be updated"); | |
/*Dispatcher.BeginInvoke(DispatcherPriority.Input, new ThreadStart(() => | |
{ | |
CurrentStatusLabel.Content = "Downloading latest LegendaryClient..."; |