Class TMP_UpdateManager
Namespace: TMPro
Syntax
public class TMP_UpdateManager
Constructors
TMP_UpdateManager()
Register to receive callback from the Canvas System.
Declaration
protected TMP_UpdateManager()
Properties
instance
Get a singleton instance of the registry
Declaration
public static TMP_UpdateManager instance { get; }
Property Value
Type | Description |
---|---|
TMP_UpdateManager |
Methods
RegisterTextElementForGraphicRebuild(TMP_Text)
Function to register elements which require a layout rebuild.
Declaration
public static void RegisterTextElementForGraphicRebuild(TMP_Text element)
Parameters
Type | Name | Description |
---|---|---|
TMP_Text | element |
RegisterTextElementForLayoutRebuild(TMP_Text)
Function to register elements which require a layout rebuild.
Declaration
public static void RegisterTextElementForLayoutRebuild(TMP_Text element)
Parameters
Type | Name | Description |
---|---|---|
TMP_Text | element |
UnRegisterTextElementForRebuild(TMP_Text)
Function to unregister elements which no longer require a rebuild.
Declaration
public static void UnRegisterTextElementForRebuild(TMP_Text element)
Parameters
Type | Name | Description |
---|---|---|
TMP_Text | element |