Constructor CustomClutter
| Improve this Doc View SourceCustomClutter(GameObject, bool, ClutterConfig)
Custom clutter from a prefab.
Can fix references for mocks.
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. |
CustomClutter(AssetBundle, string, bool, ClutterConfig)
Custom clutter from a prefab loaded from an AssetBundle.
Can fix references for mocks.
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. |