//Set singleton! void Awake() { instance = this; }
//Set singleton! void Awake() { instance = this; //Pathfinder2D.Instance.MapStartPosition = new Vector2 (-20, -20) ; //Pathfinder2D.Instance.MapEndPosition = new Vector2 (25, 25); }
void Awake() { instance = this; pathfinder = GetComponent <Pathfinder2D> (); }