Show / Hide Table of Contents

Constructor CustomPrefab

| Edit this page View Source

CustomPrefab(GameObject, bool)

Custom prefab.
Can fix references for Mock<T>s.
Declaration
public CustomPrefab(GameObject prefab, bool fixReference)
Parameters
Type Name Description
GameObject prefab The prefab for this custom item.
bool fixReference If true references for Mock<T> objects get resolved at runtime by Jötunn.
| Edit this page View Source

CustomPrefab(AssetBundle, string, bool)

Custom prefab loaded from an AssetBundle.
Can fix references for Mock<T>s.
Declaration
public CustomPrefab(AssetBundle assetBundle, string assetName, bool fixReference)
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.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾