docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_UpdateRegistry

    Class for handling and scheduling text object updates.

    Inheritance
    System.Object
    TMP_UpdateRegistry
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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
    UnityEngine.UI.ICanvasElement element

    RegisterCanvasElementForLayoutRebuild(ICanvasElement)

    Function to register elements which require a layout rebuild.

    Declaration
    public static void RegisterCanvasElementForLayoutRebuild(ICanvasElement element)
    Parameters
    Type Name Description
    UnityEngine.UI.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
    UnityEngine.UI.ICanvasElement element
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025