Show / Hide Table of Contents

Constructor CustomClutter

| Edit this page View Source

CustomClutter(GameObject, bool, ClutterConfig)

Custom clutter from a prefab.
Can fix references for mocks.
Declaration
public CustomClutter(GameObject prefab, bool fixReference, ClutterConfig config)
Parameters
Type Name Description
GameObject prefab The prefab for this custom clutter.
bool fixReference If true references for Mock<T> objects get resolved at runtime by Jötunn.
ClutterConfig config The ClutterConfig for this custom vegation.
| Edit this page View Source

CustomClutter(AssetBundle, string, bool, ClutterConfig)

Custom clutter from a prefab loaded from an AssetBundle.
Can fix references for mocks.
Declaration
public CustomClutter(AssetBundle assetBundle, string assetName, bool fixReference, ClutterConfig config)
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.
ClutterConfig config The ClutterConfig for this custom clutter.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾