Exemplo n.º 1
0
 public void goInsideBuilding(BuildingAttributes building)
 {
     //Debug.Log("went inside building");
     setBuildingIsInsideOf(building);
     building.addCitizenToInsideBuilding(this);
     transform.GetChild(0).gameObject.SetActive(false);
     isInsideBuilding = true;
 }