HelpBox
Makes a help box with a message to the user.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
HelpBox(Rect, string, MessageType)
Makes a help box with a message to the user.
public static void HelpBox(Rect position, string message, MessageType type)
Parameters
Rectangle on the screen to draw the help box within.
The message text.
The type of message.
HelpBox(Rect, GUIContent)
Makes a help box with a message to the user.
public static void HelpBox(Rect position, GUIContent content)
Parameters
Rectangle on the screen to draw the help box within.
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.