MissingResource
An internal editor class intended for keeping the data of unrecognized resources.
An internal editor class intended for keeping the data of unrecognized resources.
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.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
MissingResourceConstructor
public MissingResource();Properties2
OriginalClassProperty
public string OriginalClass { get; set; }The name of the class this resource was supposed to be (see ReckfellObject.GetClass).
RecordingPropertiesProperty
public bool RecordingProperties { get; set; }If set to true, allows new properties to be added on top of the existing ones with ReckfellObject.Set.
Methods4
GetOriginalClassstring
public string GetOriginalClass();stringIsRecordingPropertiesbool
public bool IsRecordingProperties();boolSetOriginalClassvoid
public void SetOriginalClass(string name);| Name | Type | Default |
|---|---|---|
name | string | — |
SetRecordingPropertiesvoid
public void SetRecordingProperties(bool enable);| Name | Type | Default |
|---|---|---|
enable | bool | — |