docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_UpdateRegistry

    Class for handling and scheduling text object updates.

    Inheritance
    object
    TMP_UpdateRegistry
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)