Show / Hide Table of Contents

Class KitbashSourceConfig

Configuration class for defining kitbash parts to add to a prefab with KitbashManager
Inheritance
System.Object
KitbashSourceConfig
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)
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class KitbashSourceConfig

Properties

| Improve this Doc View Source

Materials

An optional list of Materials to set on the pasted GameObject
Defaults to the original materials
Declaration
public string[] Materials { get; set; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

Name

An optional name of the pasted GameObject
Defaults to the source name
Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Position

Position of the pasted GameObject
Defaults to
Declaration
public Vector3 Position { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

Rotation

Rotation of the pasted GameObject
Defaults to (no rotation)
Declaration
public Quaternion Rotation { get; set; }
Property Value
Type Description
Quaternion
| Improve this Doc View Source

Scale

Scale of the pasted GameObject
Defaults to (no rescale)
Declaration
public Vector3 Scale { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

SourcePath

Location of the GameObject to copy from the source prefab
Declaration
public string SourcePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SourcePrefab

Source prefab that contains the GameObject to copy
Declaration
public string SourcePrefab { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TargetParentPath

Target parent of the pasted GameObject
Defaults to the root of the prefab
Declaration
public string TargetParentPath { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾