Class Span | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Span

    Shortcut to create inline VisualElements

    Inheritance
    System.Object
    Span
    TypeNameView
    Namespace: UnityEditor.ImmediateWindow.UI
    Syntax
    public class Span : TextElement

    Constructors

    Span()

    Basic span creation

    Declaration
    public Span()

    Span(String, String, String)

    Span creation

    Declaration
    public Span(string text, string classnames = "", string tooltip = "")
    Parameters
    Type Name Description
    System.String text

    Text to set your inline element to

    System.String classnames

    Whitespace-separated list of classes to add

    System.String tooltip

    Tooltip text

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023