docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RuleTile.TilingRuleOutput.Neighbor

    The enumeration for matching Neighbors when matching Rule Tiles

    Inheritance
    object
    RuleTile.TilingRuleOutput.Neighbor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)