IEnumerator DelayHide() { yield return(new WaitForSeconds(0.35f)); canvasGroup.interactable = false; canvasGroup.blocksRaycasts = false; yield return(new WaitForSeconds(0.5f)); thisObj.SetActive(false); FactionManager.CompleteDeployment(); }