public List <TD_Tile> Resolve(Vector3 arg_start, EnemyType arg_type) { if (map_ == null) { map_ = this.GetComponent <TD_Map>(); } delta = 0.49f; return(ResolveAStar(GetTileByPosition(new Vector3(arg_start.x, 0f, arg_start.z)), map_.destination_, arg_type)); }
private void Awake() { directory_ = Application.dataPath + "/Maps"; full_file_path_ = directory_ + "/" + file_name_; map_ = this.GetComponent <TD_Map>(); }
// Start is called before the first frame update void Start() { map_ = this.GetComponent <TD_Map>(); delta = 0.49f; }