从不在虚幻中的视口中移除?
Remove from Viewport not in Unreal anymore?
所以我在 Unreal Engine v4.9.2 中有一个菜单/UI 小部件,我意识到 "Remove from Viewport" 不再可用?还有其他选择吗?我只需要在点击屏幕上的按钮后关闭菜单。
这是我当前的蓝图:
任何帮助都很棒!
谢谢。
从 Unreal Engine 4.6 开始,您现在使用 RemoveFromParent
从其父级(例如视口)中删除小部件。这是暴露给蓝图的。
The release notes mention in the C++ API changes the following:
RemoveFromViewport is now deprecated, use RemoveFromParent.
所以我在 Unreal Engine v4.9.2 中有一个菜单/UI 小部件,我意识到 "Remove from Viewport" 不再可用?还有其他选择吗?我只需要在点击屏幕上的按钮后关闭菜单。
这是我当前的蓝图:
任何帮助都很棒!
谢谢。
从 Unreal Engine 4.6 开始,您现在使用 RemoveFromParent
从其父级(例如视口)中删除小部件。这是暴露给蓝图的。
The release notes mention in the C++ API changes the following:
RemoveFromViewport is now deprecated, use RemoveFromParent.