Class ObjectLocation
Base type for finding and replacing a game object with an item container.
Inheritance
System.Object
ObjectLocation
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.Locations
Assembly: ItemChanger.dll
Syntax
public class ObjectLocation : ContainerLocation
Fields
| Improve this Doc View Sourceelevation
Declaration
public float elevation
Field Value
Type | Description |
---|---|
System.Single |
objectName
Declaration
public string objectName
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFindGameObject(String)
Declaration
public static GameObject FindGameObject(string objectName)
Parameters
Type | Name | Description |
---|---|---|
System.String | objectName |
Returns
Type | Description |
---|---|
GameObject |
OnActiveSceneChanged(Scene)
Declaration
public virtual void OnActiveSceneChanged(Scene to)
Parameters
Type | Name | Description |
---|---|---|
Scene | to |
OnLoad()
Declaration
protected override void OnLoad()
Overrides
| Improve this Doc View SourceOnUnload()
Declaration
protected override void OnUnload()
Overrides
| Improve this Doc View SourcePlaceContainer(GameObject, String)
Declaration
public virtual void PlaceContainer(GameObject obj, string containerType)
Parameters
Type | Name | Description |
---|---|---|
GameObject | obj | |
System.String | containerType |