Class ObjectDestroyer
IDeployer which destroys an object specified by name or path.
Inheritance
ObjectDestroyer
Assembly: ItemChanger.dll
Syntax
public class ObjectDestroyer : IDeployer
Constructors
View Source
ObjectDestroyer()
Declaration
Properties
View Source
MatchType
Declaration
public ObjectDestroyer.NameMatchType MatchType { get; init; }
Property Value
View Source
ObjectName
Declaration
public string ObjectName { get; init; }
Property Value
View Source
SceneName
The scene in which the IDeployer acts. Used as a key for the scene change event, and thus should not mutate.
Declaration
public string SceneName { get; init; }
Property Value
Methods
View Source
OnSceneChange(Scene)
Action to perform when SceneName becomes the active scene.
Declaration
public void OnSceneChange(Scene to)
Parameters
| Type |
Name |
Description |
| Scene |
to |
|
Implements
Extension Methods