Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
MissingNode
编辑器内部类,用于保存未知节点的数据。
描述
这是一种编辑器内部类,用于保存未知类型节点的数据(该类型很有可能是由不再加载的扩展提供的),无法手动实例化,也无法在场景中放置。
警告:不清楚有什么用就请忽略缺失节点。缺失节点上的已有属性可以在代码中自由修改,无论它们的类型如何。
属性
属性说明
该节点本来的类名(见 Object.get_class())。
返回该节点最初是其实例的场景的路径。
如果为 true
,则允许将新属性与已有属性一起设置。如果为 false
,则只能设置已有属性的值,并且无法添加新属性。