Class CustomLocation
Main interface for adding custom locations to the game.
All custom locations have to be wrapped inside this class to add it to Jötunns ZoneManager.
All custom locations have to be wrapped inside this class to add it to Jötunns ZoneManager.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomLocation : CustomEntity
Constructors
| Improve this Doc View SourceCustomLocation(GameObject, GameObject, LocationConfig)
Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, GameObject interiorPrefab, LocationConfig locationConfig)
Parameters
Type | Name | Description |
---|---|---|
GameObject | exteriorPrefab | The exterior prefab for this custom location. |
GameObject | interiorPrefab | The interior prefab for this custom location. |
LocationConfig | locationConfig | The LocationConfig for this custom location. |
CustomLocation(GameObject, LocationConfig)
Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, LocationConfig locationConfig)
Parameters
Type | Name | Description |
---|---|---|
GameObject | exteriorPrefab | The exterior prefab for this custom location. |
LocationConfig | locationConfig | The LocationConfig for this custom location. |
Properties
| Improve this Doc View SourceLocation
Associated Location component
Declaration
public Location Location { get; }
Property Value
Type | Description |
---|---|
Location |
Name
Name of this custom location
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Prefab
The exterior prefab for this custom location.
Declaration
public GameObject Prefab { get; }
Property Value
Type | Description |
---|---|
GameObject |
ZoneLocation
Associated component
Declaration
public ZoneSystem.ZoneLocation ZoneLocation { get; }
Property Value
Type | Description |
---|---|
ZoneSystem.ZoneLocation |