Show / Hide Table of Contents

Method GetPieceTable

| Edit this page View Source

GetPieceTable(string)

Get a PieceTable by name.

Search hierarchy:
  1. PieceTable with the exact name (e.g. "_HammerPieceTable")
  2. PieceTable via "item" name (e.g. "Hammer")
Declaration
public PieceTable GetPieceTable(string name)
Parameters
Type Name Description
string name Prefab or item name of the PieceTable
Returns
Type Description
PieceTable PieceTable component
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾