Show / Hide Table of Contents

Class Deployer

Abstract IDeployer which creates an object and places it at the specified coordinates. Inheritors must specify how the object is instantiated; the base class handles positioning and activation.

Inheritance
System.Object
Deployer
EnemyBlockerDeployer
HintBoxDeployer
SoulTotemDeployer
TabletDeployer
SmallPlatform
Implements
IDeployer
System.IEquatable<Deployer>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public abstract class Deployer : IDeployer, IEquatable<Deployer>

Properties

| Improve this Doc View Source

SceneName

Declaration
public string SceneName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Test

Optional property. If non-null and evaluates false, the GameObject is not deployed.

Declaration
public IBool Test { get; set; }
Property Value
Type Description
IBool
| Improve this Doc View Source

X

Declaration
public float X { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Y

Declaration
public float Y { get; set; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Deploy()

Method which calls Instantiate, and then appropriately places the new object. Returns the object to allow further action by overriders.
The base implementation sets position, gives the object a safe position-based name, and updates any PersistentBoolItem, PersistentIntItem, or GeoRock components with the new name.

Declaration
public virtual GameObject Deploy()
Returns
Type Description
GameObject
| Improve this Doc View Source

Instantiate()

Declaration
public abstract GameObject Instantiate()
Returns
Type Description
GameObject
| Improve this Doc View Source

OnSceneChange(Scene)

Declaration
public virtual void OnSceneChange(Scene to)
Parameters
Type Name Description
Scene to

Implements

IDeployer
System.IEquatable<T>

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX