| Defines an anchor, meaning the surrounding tiles required for a multitile to be placeable at a location. type dictates which types of tiles are eligible for the anchor while start and count dictate how much of the multitile edge need to have that specific anchor. For example, most furniture tiles will simply set a bottom anchor spanning the full width of the tile requiring solid tiles:
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, TileObjectData.newTile.Width, 0); type can be defined using multiple options with the logical OR operator (| ) to combine AnchorType values, allowing tiles satisfying any of the AnchorTypes to work:
AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide The Anchor section of the Basic Tile wiki guidehas more information and visualizations.
|