Method AddKitbash
| Edit this page View SourceAddKitbash(GameObject, KitbashConfig)
Register a prefab with a KitbashConfig to be applied when the vanilla prefabs are available
Declaration
public KitbashObject AddKitbash(GameObject prefab, KitbashConfig kitbashConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | prefab | Prefab to add kitbashed parts to |
| KitbashConfig | kitbashConfig | KitbashConfig to apply to the prefab |
Returns
| Type | Description |
|---|---|
| KitbashObject | The KitbashObject container for this prefab |