fix: overlapping EventSystems for UI Canvases
This commit is contained in:
parent
8659456fae
commit
f2d1fbfe5b
@ -24,6 +24,7 @@ public class MatchEndMenu : MonoBehaviour
|
||||
Canvas.enabled = false;
|
||||
MenuButtons.SetActive(false);
|
||||
eventSystem = UIEventSystem.GetComponent<EventSystem>();
|
||||
UIEventSystem.SetActive(false);
|
||||
}
|
||||
|
||||
public void Show(Transform transform)
|
||||
|
||||
@ -26,6 +26,7 @@ public class PauseMenu : MonoBehaviour
|
||||
Canvas.enabled = false;
|
||||
PauseMenuButtons.SetActive(false);
|
||||
eventSystem = UIEventSystem.GetComponent<EventSystem>();
|
||||
UIEventSystem.SetActive(false);
|
||||
}
|
||||
|
||||
public void Show(Transform transform)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user