public void Placed(GameObject placedGo) { Placer.DisablePlacing(); placeBtn.SetActive(false); uiToHide.SetActive(true); closeBtn.SetActive(false); NavMeshController.Bake(); }