【问题标题】:Godot: How to get a variable from a non instanced sceneGodot:如何从非实例化场景中获取变量
【发布时间】:2020-06-02 19:24:44
【问题描述】:

Godot:如何从非实例化场景中获取变量

我不想实例化场景。

【问题讨论】:

    标签: variables godot


    【解决方案1】:

    我正在回答我自己的问题,因为我想通了。

    你可以使用单例: http://docs.godotengine.org/en/stable/getting_started/step_by_step/singletons_autoload.html

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-26
    • 1970-01-01
    • 2021-03-31
    • 1970-01-01
    • 2017-03-28
    • 2023-03-25
    • 1970-01-01
    相关资源
    最近更新 更多