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
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomLocation : CustomEntity
Constructors
Name | Description |
---|---|
CustomLocation(GameObject, GameObject, bool, LocationConfig) | Custom location from a prefab with a LocationConfig attached. |
CustomLocation(GameObject, bool, LocationConfig) | Custom location from a prefab with a LocationConfig attached. |
Properties
Name | Description |
---|---|
FixReference | Indicator if references from Mock<T>s will be replaced at runtime. |
Location | Associated Location component |
Name | Name of this custom location |
Prefab | The exterior prefab for this custom location. |
ZoneLocation | Associated ZoneSystem.ZoneLocation component |
Methods
Name | Description |
---|---|
IsCustomLocation(string) | Helper method to determine if a location prefab with a given name is a custom location created with Jötunn. |
ToString() | Returns a string that represents the current object. |