Class SortingLayerHelper
Inheritance
System.Object
SortingLayerHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TMPro
Syntax
public static class SortingLayerHelper
Properties
sortingLayerNames
Declaration
public static string[] sortingLayerNames { get; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
Methods
GetSortingLayerIDForIndex(Int32)
Declaration
public static int GetSortingLayerIDForIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetSortingLayerIDForName(String)
Declaration
public static int GetSortingLayerIDForName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetSortingLayerNameFromID(Int32)
Declaration
public static string GetSortingLayerNameFromID(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id |
Returns
| Type | Description |
|---|---|
| System.String |