Show / Hide Table of Contents

Constructor CustomRoom

| Edit this page View Source

CustomRoom(AssetBundle, string, bool, RoomConfig)

Custom room from a prefab loaded from an AssetBundle with a Room made from a RoomConfig.
Can fix references for Mock<T>s.
Declaration
public CustomRoom(AssetBundle assetBundle, string assetName, bool fixReference, RoomConfig roomConfig)
Parameters
Type Name Description
AssetBundle assetBundle A preloaded AssetBundle
string assetName Name of the prefab in the bundle.
bool fixReference If true references for Mock<T> objects get resolved at runtime by Jötunn.
RoomConfig roomConfig The config for this custom room.
| Edit this page View Source

CustomRoom(GameObject, bool, RoomConfig)

Custom room from a prefab loaded from an AssetBundle with a Room made from a RoomConfig.
Can fix references for Mock<T>s.
Declaration
public CustomRoom(GameObject prefab, bool fixReference, RoomConfig roomConfig)
Parameters
Type Name Description
GameObject prefab The prefab for this custom room.
bool fixReference If true references for Mock<T> objects get resolved at runtime by Jötunn.
RoomConfig roomConfig The config for this custom room.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾