Class KitbashSourceConfig
Configuration class for defining kitbash parts to add to a prefab with KitbashManager
Inherited Members
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class KitbashSourceConfig
Properties
| Name | Description |
|---|---|
| Materials | An optional list of Materials to set on the pasted GameObject Defaults to the original materials |
| Name | An optional name of the pasted GameObject Defaults to the source name |
| Position | Position of the pasted GameObject Defaults to Vector3.zero |
| Rotation | Rotation of the pasted GameObject Defaults to Quaternion.identity (no rotation) |
| Scale | Scale of the pasted GameObject Defaults to Vector3.one (no rescale) |
| SourcePath | Location of the GameObject to copy from the source prefab |
| SourcePrefab | Source prefab that contains the GameObject to copy |
| TargetParentPath | Target parent of the pasted GameObject Defaults to the root of the prefab |
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |