void Awake() { info = new ForagerInfo(); GameObject hive = GameObject.FindGameObjectWithTag("Hive"); hivePos = hive.transform.position; openlist = new List <FoodInfo> (); closelist = new List <FoodInfo> (); teammates = new List <ForagerInfo> (); foragerDetected = new List <GameObject> (); }
// Update forager info public void UpdateForagerInfo(ForagerInfo info) { }