【问题标题】:Make dynamic button container in Godot在 Godot 中制作动态按钮容器
【发布时间】:2021-03-22 14:42:46
【问题描述】:

当我尝试在 Godot 中构建动态按钮容器时,如附加视频所示,我被卡住了。有没有什么方法可以让 Godot 变得简单?

非常感谢您的帮助!

Here's my problem's description video

【问题讨论】:

  • 资产库中有一个流容器,试试看。

标签: button containers multiline godot


【解决方案1】:

我会尝试将 VBoxContainers 与 GridContainers 行混合使用。我最近经常使用 GridContainers,并且认为完成该效果没有任何问题。只需将您的动态按钮添加到相应行的网格中即可。

https://docs.godotengine.org/en/3.0/classes/class_gridcontainer.html

注意到这是几个月后的事情,所以希望您找到了解决方案。

【讨论】:

    猜你喜欢
    • 2017-01-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多