Method DrawFixMeBox
DrawFixMeBox(string, Action)
Draw a help box with the Fix button.
Declaration
public static void DrawFixMeBox(string message, Action action)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message text. |
Action | action | When the user clicks the button, Unity performs this action. |
DrawFixMeBox(string, MessageType, Action)
Draw a help box with the Fix button.
Declaration
public static void DrawFixMeBox(string message, MessageType messageType, Action action)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message text. |
MessageType | messageType | The type of the message. |
Action | action | When the user clicks the button, Unity performs this action. |
DrawFixMeBox(string, MessageType, string, Action)
Draw a help box with the Fix button.
Declaration
public static void DrawFixMeBox(string message, MessageType messageType, string buttonLabel, Action action)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message text. |
MessageType | messageType | The type of the message. |
string | buttonLabel | The button text. |
Action | action | When the user clicks the button, Unity performs this action. |
DrawFixMeBox(GUIContent, Action)
Draw a help box with the Fix button.
Declaration
public static void DrawFixMeBox(GUIContent message, Action action)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | message | The message with icon if needed. |
Action | action | When the user clicks the button, Unity performs this action. |
DrawFixMeBox(GUIContent, string, Action)
Draw a help box with the Fix button.
Declaration
public static void DrawFixMeBox(GUIContent message, string buttonLabel, Action action)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | message | The message with icon if needed. |
string | buttonLabel | The button text. |
Action | action | When the user clicks the button, Unity performs this action. |