网易我的世界论坛
标题:
自定义ui面板移除
[打印本页]
作者:
方戨阙
时间:
2021-8-13 15:38
标题:
自定义ui面板移除
错误信息:
[15:31:11] TypeError: RemoveScreen() takes exactly 1 argument (2 given)
这两个代码都报这个错误:
# uiNode.SetRemove()
uiNode.SetScreenVisible(False)
这个报错怎么修复,或者有没有其他移除这个ui面板的方法
作者:
神捕晖
时间:
2021-8-16 12:51
接口没问题,感觉是你传多了参数,再检查下吧
可以看看官网的接口文档说明
https://mc.163.com/dev/mcmanual/ ... cindex=2&type=0
欢迎光临 网易我的世界论坛 (http://mc.netease.com/)
Powered by Discuz! X3.3