public void OnClickUnremove() { UI_ScreenRemoveWorker.SRemoveEmployee(m_settler); gameObject.GetComponent <Image>().color = m_baseColor; unremoveButton.gameObject.SetActive(false); removeButton.gameObject.SetActive(true); }
private void Start() { if (s_instance != null) { Debug.LogWarning("Only one instance is allowed!"); } s_instance = this; }
public void OnClickInfo() { UI_ScreenSettler.SShowSettler(m_settler); M_ScreenManager.SChangeScreenPersistentBack(m_settlerScreen); UI_ScreenRemoveWorker.SSetIfInfoScreen(true); }