public void Placed(GameObject placedGo) { Placer.DisablePlacing(); placeBtn.SetActive(false); uiToHide.SetActive(true); closeBtn.SetActive(false); NavMeshController.Bake(); }
public void Clicked() { toShow.SetActive(true); gameObject.SetActive(false); PopupWindow.HidePopup(); //disable all actions Placer.DisablePlacing(); }