docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetNextAvailableColumn

    GetNextAvailableColumn(IList<SheetColumn>)

    Returns the next available column name. For example if columns was using "A", "B", "D" then "C" would be returned.

    Declaration
    public static string GetNextAvailableColumn(IList<SheetColumn> columns)
    Parameters
    Type Name Description
    IList<SheetColumn> columns

    The columns that are currently in use.

    Returns
    Type Description
    string

    The next available column name.

    GetNextAvailableColumn(params string[])

    Returns the next available column name. For example if reservedColumns was "A", "B", "D" then "C" would be returned.

    Declaration
    public static string GetNextAvailableColumn(params string[] reservedColumns)
    Parameters
    Type Name Description
    string[] reservedColumns

    The column names that are currently in use.

    Returns
    Type Description
    string

    The next available column name.

    GetNextAvailableColumn(HashSet<int>)

    Returns the next available sheet column.

    Declaration
    public static string GetNextAvailableColumn(HashSet<int> reservedColumIds)
    Parameters
    Type Name Description
    HashSet<int> reservedColumIds

    The reserved column ids where "A" = 0, "B" = 1 etc. The found available column will also be added.

    Returns
    Type Description
    string
    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)