Class MaterialReferenceManager
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
public class MaterialReferenceManager
Properties
Name | Description |
---|---|
instance | Get a singleton instance of the registry |
Methods
Name | Description |
---|---|
Add |
Add new Color Gradient Preset to dictionary. |
Add |
Add new font asset reference to dictionary. |
Add |
Add new Material reference to dictionary. |
Add |
Add new Sprite Asset to dictionary. |
Add |
Add new Sprite Asset to dictionary. |
Contains(TMP_Font |
Function to check if the font asset is already referenced. |
Contains(TMP_Sprite |
Function to check if the sprite asset is already referenced. |
Try |
Function returning the Color Gradient Preset corresponding to the provided hash code. |
Try |
Function returning the Font Asset corresponding to the provided hash code. |
Try |
Function returning the Font Material corresponding to the provided hash code. |
Try |
Function returning the Sprite Asset corresponding to the provided hash code. |