Constructor CustomLocation
| Improve this Doc View SourceCustomLocation(GameObject, bool, LocationConfig)
Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, bool fixReference, LocationConfig locationConfig)
Parameters
Type | Name | Description |
---|---|---|
GameObject | exteriorPrefab | The exterior prefab for this custom location. |
bool | fixReference | If true references for Mock<T> objects get resolved at runtime by Jötunn. |
LocationConfig | locationConfig | The LocationConfig for this custom location. |
CustomLocation(GameObject, GameObject, bool, LocationConfig)
Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, GameObject interiorPrefab, bool fixReference, LocationConfig locationConfig)
Parameters
Type | Name | Description |
---|---|---|
GameObject | exteriorPrefab | The exterior prefab for this custom location. |
GameObject | interiorPrefab | The interior prefab for this custom location. |
bool | fixReference | If true references for Mock<T> objects get resolved at runtime by Jötunn. |
LocationConfig | locationConfig | The LocationConfig for this custom location. |