fix popup item menu and refactor ui system
This commit is contained in:
@@ -31,7 +31,7 @@ public class JobSelectorUI : MonoBehaviour
|
||||
|
||||
public void ShowJobSelectionDialog(string title, Action onCancel, Action<JobInfoSO> onConfirm)
|
||||
{
|
||||
UIManager.Instance.Freeze();
|
||||
GameManager.Instance.UI.Freeze();
|
||||
|
||||
gameObject.SetActive(true);
|
||||
_title.text = title;
|
||||
@@ -95,7 +95,7 @@ public class JobSelectorUI : MonoBehaviour
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
UIManager.Instance.Unfreeze();
|
||||
GameManager.Instance.UI.Unfreeze();
|
||||
Destroy(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user