docs.unity.cn
    Show / Hide Table of Contents

    Class RuleTile.TilingRuleOutput.Neighbor

    The enumeration for matching Neighbors when matching Rule Tiles

    Inheritance
    Object
    RuleTile.TilingRuleOutput.Neighbor
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, December 16, 2022
    Terms of use