Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HelpBox

Make a help box with a message to the user.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

HelpBox(string, MessageType)

Make a help box with a message to the user.
public static void HelpBox(string message, MessageType type)

Parameters

message

The message text.

The type of message.

HelpBox(string, MessageType, bool)

Make a help box with a message to the user.
public static void HelpBox(string message, MessageType type, bool wide)

Parameters

message

The message text.

The type of message.

wide

If true, the box will cover the whole width of the window; otherwise it will cover the controls part only.

HelpBox(GUIContent, bool)

Make a help box with a message to the user.
public static void HelpBox(GUIContent content, bool wide = true)

Parameters

content

The message contents. If an image is provided, it will be displayed to the left of the message. The expect image size is 32x32 pixels.

wide

If true, the box will cover the whole width of the window; otherwise it will cover the controls part only.