Show / Hide Table of Contents

Class KitbashSourceConfig

Configuration class for defining kitbash parts to add to a prefab with KitbashManager
Inheritance
object
KitbashSourceConfig
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾