Constructor CustomRoom
| Improve this Doc View SourceCustomRoom(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.
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. |
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.
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. |