Show / Hide Table of Contents

Constructor CustomPieceTable

| Edit this page View Source

CustomPieceTable(GameObject)

Custom piece table from a prefab.
Declaration
public CustomPieceTable(GameObject pieceTablePrefab)
Parameters
Type Name Description
GameObject pieceTablePrefab The prefab for this custom piece table. It has to have a PieceTable component attached
| Edit this page View Source

CustomPieceTable(GameObject, PieceTableConfig)

Custom piece table from a prefab with a PieceTableConfig attached.
Declaration
public CustomPieceTable(GameObject pieceTablePrefab, PieceTableConfig config)
Parameters
Type Name Description
GameObject pieceTablePrefab The prefab for this custom piece table. It has to have a PieceTable component attached.
PieceTableConfig config The PieceTableConfig for this custom piece table.
| Edit this page View Source

CustomPieceTable(string, PieceTableConfig)

"Empty" custom piece table with a PieceTableConfig attached.
Declaration
public CustomPieceTable(string name, PieceTableConfig config)
Parameters
Type Name Description
string name The name of the custom piece table.
PieceTableConfig config The PieceTableConfig for this custom piece table.
| Edit this page View Source

CustomPieceTable(AssetBundle, string, PieceTableConfig)

Custom piece table from a prefab loaded from an AssetBundle with a PieceTableConfig attached.
Declaration
public CustomPieceTable(AssetBundle assetBundle, string assetName, PieceTableConfig config)
Parameters
Type Name Description
AssetBundle assetBundle A preloaded AssetBundle
string assetName Name of the prefab in the bundle. It has to have a PieceTable component attached.
PieceTableConfig config The PieceTableConfig for this custom piece table.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾