Jump to content

Why does clicking on my GUI activate the GUI underneath it?


Recommended Posts

It is a simple question really, but it is baffling me, and I am reluctant to do more development on any of the mods I have got queuing up waiting for some attention until I have an answer to this, because I can see it ruining things over and over again. What is the solution? Why to I have this click through behavior? I have seen it on other mods too, and then not on others, but I can not get to the bottom of what the differences are? Can someone just tell me - what am I doing wrong.

Link to comment
Share on other sites

Still no one? Afaik / To my little knowledge: There are a bunch of different system like EZ GUI (seems to be used for KSP's interface), UnityGUI (or however Unitys easy built-in UI system is called; used by most mods) or KSPs other input handling and it would be surprising if they would work together nicely by default. I once came across UIManager.instance.DidPointerHitUI, what kinda does the opposite, but neither tried it nor can i remember where. And this ofc wouldn't work with UnityUI. Maybe using EZGUI in mods would be the best approach. Anyone done this? Any examples for using this from script only?

What mods for example are you talking about? Figuring out what they do differently should be doable.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...