Show / Hide Table of Contents

Method IsValid

| Edit this page View Source

IsValid()

Checks if a custom piece is valid (i.e. has a prefab, a target PieceTable is set, has a Piece component and that component has an icon).
Declaration
public bool IsValid()
Returns
Type Description
bool true if all criteria is met
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾