Class ObjectLocation
Base type for finding and replacing a game object with an item container.
Inheritance
ObjectLocation
Assembly: ItemChanger.dll
Syntax
public class ObjectLocation : ContainerLocation
Constructors
View Source
ObjectLocation()
Declaration
Fields
View Source
elevation
Declaration
Field Value
View Source
objectName
Declaration
Field Value
Methods
View Source
FindGameObject(string)
Declaration
public static GameObject FindGameObject(string objectName)
Parameters
| Type |
Name |
Description |
| string |
objectName |
|
Returns
View Source
OnActiveSceneChanged(Scene)
Declaration
public virtual void OnActiveSceneChanged(Scene to)
Parameters
| Type |
Name |
Description |
| Scene |
to |
|
View Source
OnLoad()
Called during Load(). Allows the location to initialize and set up any hooks.
Declaration
protected override void OnLoad()
Overrides
View Source
OnUnload()
Called during Unload(). Allows the location to dispose any hooks.
Declaration
protected override void OnUnload()
Overrides
View Source
PlaceContainer(GameObject, string)
Declaration
public virtual void PlaceContainer(GameObject obj, string containerType)
Parameters
Extension Methods