Class KitbashManager
Manager for handling Kitbashed objects
Inheritance
System.Object
KitbashManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class KitbashManager : IManager
Properties
| Improve this Doc View SourceInstance
The singleton instance of this manager.
Declaration
public static KitbashManager Instance { get; }
Property Value
Type | Description |
---|---|
KitbashManager |
Methods
| Improve this Doc 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 |
Init()
Registers all hooks.
Declaration
public void Init()