Class RuleTile.TilingRuleOutput.Neighbor
The enumeration for matching Neighbors when matching Rule Tiles
Namespace: UnityEngine
Syntax
public class 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 |
---|---|
Int32 |
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 |
---|---|
Int32 |