Class DestroyObjectTag
Tag for destroying an object in a specific scene. Can search by name or by path.
Inheritance
DestroyObjectTag
Assembly: ItemChanger.dll
public class DestroyObjectTag : Tag
Constructors
View Source
Declaration
public DestroyObjectTag()
Fields
View Source
Declaration
Field Value
View Source
Declaration
Field Value
Methods
View Source
Declaration
public void DestroyObject(Scene to)
Parameters
| Type |
Name |
Description |
| Scene |
to |
|
View Source
Virtual method called on tags when their parent loads. The base method checks and throws an exception if the tag is already loaded.
This should not be called directly. Instead, use "LoadOnce" to load and set the Loaded property.
Declaration
public override void Load(object parent)
Parameters
| Type |
Name |
Description |
| object |
parent |
|
Overrides
Exceptions
View Source
Virtual method called on tags when their parent unloads. The base method checks and throws an exception if the tag is not loaded.
This should not be called directly. Instead, use "UnloadOnce" to unload and set the Loaded property.
Declaration
public override void Unload(object parent)
Parameters
| Type |
Name |
Description |
| object |
parent |
|
Overrides
Exceptions
Extension Methods