void Awake() { instance = this; pathfinding = GetComponent <PathFinding>(); }
// Use this for initialization void Start() { PathReqestManager.RequestPath(transform.position, target.position, OnPathRecievd); }
// Use this for initialization void Awake() { pathRequestManager = GetComponent <PathReqestManager>(); grid = GetComponent <Grid>(); }