docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMPro_CreateObjectMenu

    Inheritance
    object
    TMPro_CreateObjectMenu
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro.EditorUtilities
    Assembly: Unity.TextMeshPro.Editor.dll
    Syntax
    public static class TMPro_CreateObjectMenu

    Methods

    AddButton(MenuCommand)

    Declaration
    [MenuItem("GameObject/UI/Button - TextMeshPro", false, 2031)]
    public static void AddButton(MenuCommand menuCommand)
    Parameters
    Type Name Description
    MenuCommand menuCommand

    AddDropdown(MenuCommand)

    Declaration
    [MenuItem("GameObject/UI/Dropdown - TextMeshPro", false, 2036)]
    public static void AddDropdown(MenuCommand menuCommand)
    Parameters
    Type Name Description
    MenuCommand menuCommand

    CreateNewUI()

    Declaration
    public static GameObject CreateNewUI()
    Returns
    Type Description
    GameObject

    GetOrCreateCanvasGameObject()

    Declaration
    public static GameObject GetOrCreateCanvasGameObject()
    Returns
    Type Description
    GameObject
    In This Article
    Back to top
    Copyright © 2025 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)