docs.unity3d.com
    Show / Hide Table of Contents

    Class TMPro_CreateObjectMenu

    Inheritance
    System.Object
    TMPro_CreateObjectMenu
    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.EditorUtilities
    Syntax
    public static class TMPro_CreateObjectMenu

    Methods

    AddDropdown(MenuCommand)

    Declaration
    [MenuItem("GameObject/UI/TextMeshPro - Dropdown", 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
    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