Show / Hide Table of Contents

Class PieceTableConfig

Configuration class for adding custom piece tables.
Inheritance
object
PieceTableConfig
Inherited Members
object.ToString()
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 PieceTableConfig

Properties

Name Description
CanRemovePieces Indicator if the PieceTable can also remove pieces. Defaults to true.
CustomCategories Array of custom categories the PieceTable uses. Will be ignored when UseCustomCategories is false.
UseCategories Indicator if the PieceTable uses the vanilla categories. Defaults to true.
UseCustomCategories Indicator if the PieceTable uses custom categories. Defaults to false.

Methods

Name Description
Apply(GameObject) Apply this configs values to a piece table GameObject.
GetCategories() Creates the final categories array for this PieceTable. Adds vanilla categories when UseCategories is true. Adds custom categories when UseCustomCategories is true.

Extension Methods

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