public void CloseTroopPanelObjectFunction() { SelectedBtnObject.SetActive(true); BuildBtnObjects.SetActive(true); CreateTroopPanelObjects.SetActive(false); InBuildHireModeTextObj.SetActive(false); GameManager.instance.HasPressTheCreateObjectBtn = false; }
//Function: ScoopSelectedBtnFunction //Method : This is the Function that used //For Selecred The Scoop Selected Btn Function void ScoopSelectedBtnFunction() { SelectedBtnObject.SetActive(false); BuildBtnObjects.SetActive(false); CreateTroopPanelObjects.SetActive(true); InBuildHireModeTextObj.SetActive(true); InBuildHireModeText.text = "In Hire Mode"; GameManager.instance.HasPressTheCreateObjectBtn = true; }