I have an AC menu that appears on top of a unityUI menu. the AC menu fills the screen, but it has a transparent background, so the unity menu remains partially visible. My problem is the unity menu also remains active. it can be interacted with through the AC menu. What is the best way to prevent this behavior?
unity 2020.3.22f1
AC 1.75.8
Thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
AC menus will always be drawn atop Unity UI ones, and as they don't involve Unity's Event System, they won't block interactivity to UI ones underneath.
Ideally, Unity UI would be in use for all Menus - at least those that can be shown together. Otherwise, you could try adding a Canvas Group to the UI Menu's root and toggle off its "Interactable" button when the AC menu shows up.
Give it a try manually in the Inspector - a custom script could feasibly be written to automate this if it's successful.
Thanks Chris, looks like both of these would work. I'm going to just make both menus Unity UI for simplicity...