docs.unity3d.com
    Show / Hide Table of Contents

    Class SortingLayerHelper

    Inheritance
    Object
    SortingLayerHelper
    Namespace: TMPro
    Syntax
    public static class SortingLayerHelper

    Properties

    sortingLayerNames

    Declaration
    public static string[] sortingLayerNames { get; }
    Property Value
    Type Description
    String[]

    Methods

    GetSortingLayerIDForIndex(Int32)

    Declaration
    public static int GetSortingLayerIDForIndex(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Int32

    GetSortingLayerIDForName(String)

    Declaration
    public static int GetSortingLayerIDForName(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Int32

    GetSortingLayerNameFromID(Int32)

    Declaration
    public static string GetSortingLayerNameFromID(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    String
    In This Article
    • Properties
      • sortingLayerNames
    • Methods
      • GetSortingLayerIDForIndex(Int32)
      • GetSortingLayerIDForName(String)
      • GetSortingLayerNameFromID(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