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.

MissingResource

繼承: Resource < RefCounted < Object

編輯器內部類,用於保存未知資源的資料。

說明

This is an internal editor class intended for keeping data of resources of unknown type (most likely this type was supplied by an extension that is no longer loaded). It can't be manually instantiated or placed in a scene.

Warning: Ignore missing resources unless you know what you are doing. Existing properties on a missing resource can be freely modified in code, regardless of the type they are intended to be.

屬性

String

original_class

bool

recording_properties


屬性說明

String original_class 🔗

  • void set_original_class(value: String)

  • String get_original_class()

The name of the class this resource was supposed to be (see Object.get_class()).


bool recording_properties 🔗

  • void set_recording_properties(value: bool)

  • bool is_recording_properties()

If set to true, allows new properties to be added on top of the existing ones with Object.set().