docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Struct BoardSize

    Representation of the AbstractBoard dimensions, and number of cell and special types.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.MLAgents.Integrations.Match3
    Assembly: solution.dll
    Syntax
    public struct BoardSize

    Fields

    Name Description
    Columns

    Number of columns on the board

    NumCellTypes

    Maximum number of different types of cells (colors, pieces, etc).

    NumSpecialTypes

    Maximum number of special types. This can be zero, in which case all cells of the same type are assumed to be equivalent.

    Rows

    Number of rows on the board

    Methods

    Name Description
    ToString()

    Return a string representation of the BoardSize.

    Operators

    Name Description
    operator >=(BoardSize, BoardSize)

    Check that all fields of the left-hand BoardSize are greater than or equal to the field of the right-hand BoardSize

    operator <=(BoardSize, BoardSize)

    Check that all fields of the left-hand BoardSize are less than or equal to the field of the right-hand BoardSize

    In This Article
    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