docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphicRebuildTracker

    EditorOnly class for tracking all Graphics. Used when a source asset is reimported into the editor to ensure that Graphics are updated as intended.

    Inheritance
    object
    GraphicRebuildTracker
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.UI
    Assembly: UnityEngine.UI.dll
    Syntax
    public static class GraphicRebuildTracker

    Methods

    DisableTrackGraphic(Graphic)

    Remove a Graphic to the list of tracked Graphics

    Declaration
    public static void DisableTrackGraphic(Graphic g)
    Parameters
    Type Name Description
    Graphic g

    The graphic to remove from tracking.

    TrackGraphic(Graphic)

    Add a Graphic to the list of tracked Graphics

    Declaration
    public static void TrackGraphic(Graphic g)
    Parameters
    Type Name Description
    Graphic g

    The graphic to track

    UnTrackGraphic(Graphic)

    Remove a Graphic to the list of tracked Graphics

    Declaration
    public static void UnTrackGraphic(Graphic g)
    Parameters
    Type Name Description
    Graphic g

    The graphic to remove from tracking.

    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)