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...
MissingResource
继承: Resource < RefCounted < Object
编辑器内部类,用于保存未知资源的数据。
描述
这是一种编辑器内部类,用于保存未知类型资源的数据(该类型很有可能是由不再加载的扩展提供的),无法手动实例化,也无法在场景中放置。
警告:不清楚有什么用就请忽略缺失资源。缺失资源上的已有属性可以在代码中自由修改,无论它们的类型如何。
属性
属性说明
该资源本来的类名(见 Object.get_class())。
如果设置为 true
,则允许使用 Object.set() 在已有属性之上添加新属性。