Class DebugUI.MessageBox
A read-only message box with an icon.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.MessageBox : DebugUI.Widget
Fields
messageCallback
Message Callback to feed the new message to the widget
Declaration
public Func<string> messageCallback
Field Value
| Type | Description |
|---|---|
| Func<string> |
style
Style used to render displayName.
Declaration
public DebugUI.MessageBox.Style style
Field Value
| Type | Description |
|---|---|
| DebugUI.MessageBox.Style |
Properties
message
This obtains the message from the display name or from the message callback if it is not null
Declaration
public string message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Create()
Creates the VisualElement for the widget that will be added to the panel UI.
Declaration
protected override VisualElement Create()
Returns
| Type | Description |
|---|---|
| VisualElement | The widget's VisualElement |