Method GetStyle
GetStyle(int)
Get the Style for the given hash code value.
Declaration
public TMP_Style GetStyle(int hashCode)
Parameters
Type | Name | Description |
---|---|---|
int | hashCode | Hash code of the style. |
Returns
Type | Description |
---|---|
TMP_Style | The style matching the hash code. |
GetStyle(string)
Get the Style for the given name.
Declaration
public TMP_Style GetStyle(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the style. |
Returns
Type | Description |
---|---|
TMP_Style | The style if found. |