Show / Hide Table of Contents

Class ObjectDestroyer

IDeployer which destroys an object specified by name or path.

Inheritance
object
ObjectDestroyer
Implements
IDeployer
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Deployers
Assembly: ItemChanger.dll
Syntax
public class ObjectDestroyer : IDeployer

Constructors

View Source

ObjectDestroyer()

Declaration
public ObjectDestroyer()

Properties

View Source

MatchType

Declaration
public ObjectDestroyer.NameMatchType MatchType { get; init; }
Property Value
Type Description
ObjectDestroyer.NameMatchType
View Source

ObjectName

Declaration
public string ObjectName { get; init; }
Property Value
Type Description
string
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
Type Description
string

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

IDeployer

Extension Methods

Extensions.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX