docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_UpdateRegistry

    Class for handling and scheduling text object updates.

    Inheritance
    Object
    TMP_UpdateRegistry
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023