MessageBoxAttribute

Class in Yarn.Unity

Inherits from YarnEditorAttribute

Summary

Shows a message box on the property.

public class MessageBoxAttribute : YarnEditorAttribute

Enums

Name
Description

The type of the message box to display.

Methods

Name
Description

Creates a new error Message using the provided text.

Creates a new information Message using the provided text.

Creates a new neutral Message using the provided text.

Creates a new warning Message using the provided text.

Properties

Name
Description

Returns a new Message that represents an instruction to not draw a message box at all.

The name of a method that will be called to determine the contents of the message box. The method must return a Message .

Structs

Name
Description

A description for a message box to show in the Unity Inspector.

Last updated

Was this helpful?