Class Span
Shortcut to create inline VisualElements
Inheritance
System.Object
Span
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 |