Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用到自己项目,鼠标会在Fairy制作的UI下一层,无法点击。。。。 #10

Open
finalzeng opened this issue Oct 9, 2019 · 4 comments

Comments

@finalzeng
Copy link

No description provided.

@esengine
Copy link
Contributor

esengine commented Oct 9, 2019

fairygui编辑器里设置空白可穿透了吗

@finalzeng
Copy link
Author

fairygui编辑器里设置空白可穿透了吗

已经设置了。因为鼠标是我重新绘制的。

@esengine
Copy link
Contributor

esengine commented Oct 9, 2019

我知道你的意思了 你的鼠标在ui层下面 那你可以自己做一个monogame的组件 在stage后添加你的鼠标组件

或者直接修改源代码 在Stage文件的draw里去写你的鼠标

@finalzeng
Copy link
Author

或者直接修改源代码 在Stage文件的draw里去写你的鼠标

感谢,估计是要改下源码。鼠标绘制是在stage之后加载的,是不是应该先绘制好鼠标再加载stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants