기술 자료

Unity Engine

Unity Engine

HelpBox

Makes a help box with a message to the user.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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

position

Rectangle on the screen to draw the help box within.

message

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

position

Rectangle on the screen to draw the help box within.

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.