Class TMP_UpdateRegistry
Class for handling and scheduling text object updates.
Namespace: TMPro
Syntax
public class TMP_UpdateRegistry
Constructors
TMP_UpdateRegistry()
Register to receive callback from the Canvas System.
Declaration
protected TMP_UpdateRegistry()
Properties
instance
Get a singleton instance of the registry
Declaration
public static TMP_UpdateRegistry instance { get; }
Property Value
Type | Description |
---|---|
TMP_UpdateRegistry |
Methods
RegisterCanvasElementForGraphicRebuild(ICanvasElement)
Function to register elements which require a graphic rebuild.
Declaration
public static void RegisterCanvasElementForGraphicRebuild(ICanvasElement element)
Parameters
Type | Name | Description |
---|---|---|
ICanvasElement | element |
RegisterCanvasElementForLayoutRebuild(ICanvasElement)
Function to register elements which require a layout rebuild.
Declaration
public static void RegisterCanvasElementForLayoutRebuild(ICanvasElement element)
Parameters
Type | Name | Description |
---|---|---|
ICanvasElement | element |
UnRegisterCanvasElementForRebuild(ICanvasElement)
Function to unregister elements which no longer require a rebuild.
Declaration
public static void UnRegisterCanvasElementForRebuild(ICanvasElement element)
Parameters
Type | Name | Description |
---|---|---|
ICanvasElement | element |