コード例 #1
0
 public void LeaveBuilding()
 {
     targeted.RepairBuilding();
     targetRepaired = true;
     targeted.transform.Find("Broke").GetComponent <MeshRenderer>().material = Resources.Load <Material>("Materials/buildingBroke");
     mesh.SetActive(true);
     repairing = false;
     TryToLeavePark();
 }