fix popup item menu and refactor ui system
This commit is contained in:
@@ -22,7 +22,7 @@ public class TimeSliderUI : MonoBehaviour
|
||||
{
|
||||
GameManager.Instance.Time.OnFastForwardEnd += CloseDialog;
|
||||
GameManager.Instance.Pause();
|
||||
UIManager.Instance.Freeze();
|
||||
GameManager.Instance.UI.Freeze();
|
||||
|
||||
gameObject.SetActive(true);
|
||||
_title.text = title;
|
||||
@@ -46,7 +46,7 @@ public class TimeSliderUI : MonoBehaviour
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
UIManager.Instance.Unfreeze();
|
||||
GameManager.Instance.UI.Unfreeze();
|
||||
Destroy(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user