Method GetPieceTable
| Edit this page View SourceGetPieceTable(string)
Get a PieceTable by name.
Search hierarchy:
Search hierarchy:
- PieceTable with the exact name (e.g. "_HammerPieceTable")
- 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 |