예제 #1
0
파일: BuildBtn.cs 프로젝트: gsx95/colonize
 public void Placed(GameObject placedGo)
 {
     Placer.DisablePlacing();
     placeBtn.SetActive(false);
     uiToHide.SetActive(true);
     closeBtn.SetActive(false);
     NavMeshController.Bake();
 }
예제 #2
0
파일: CloseBtn.cs 프로젝트: gsx95/colonize
    public void Clicked()
    {
        toShow.SetActive(true);
        gameObject.SetActive(false);
        PopupWindow.HidePopup();

        //disable all actions
        Placer.DisablePlacing();
    }