Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MaterialEditor.HelpBoxWithButton

Switch to Manual
public function HelpBoxWithButton(messageContent: GUIContent, buttonContent: GUIContent): bool;

Parameters

messageContentThe message text.
buttonContentThe button text.

Returns

bool Returns true, if button was pressed.

Description

Make a help box with a message and button. Returns true, if button was pressed.