docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023