Class RuleTile.TilingRuleOutput.Neighbor
The enumeration for matching Neighbors when matching Rule Tiles
Inherited Members
Namespace: UnityEngine
Assembly: Unity.2D.Tilemap.Extras.dll
Syntax
public class RuleTile.TilingRuleOutput.Neighbor
Fields
NotThis
The Rule Tile will check if the contents of the cell in that direction is not an instance of this Rule Tile. If it is, the rule will fail.
Declaration
public const int NotThis = 2
Field Value
Type | Description |
---|---|
int |
This
The Rule Tile will check if the contents of the cell in that direction is an instance of this Rule Tile. If not, the rule will fail.
Declaration
public const int This = 1
Field Value
Type | Description |
---|---|
int |