Add more properties to AcceptDialog
This commit is contained in:
parent
dd09f13f68
commit
5ef23812ac
1 changed files with 3 additions and 1 deletions
|
@ -308,7 +308,9 @@ void AcceptDialog::_bind_methods() {
|
|||
ADD_SIGNAL( MethodInfo("confirmed") );
|
||||
ADD_SIGNAL( MethodInfo("custom_action",PropertyInfo(Variant::STRING,"action")) );
|
||||
|
||||
|
||||
ADD_PROPERTYNZ( PropertyInfo(Variant::STRING,"dialog/text",PROPERTY_HINT_MULTILINE_TEXT,"",PROPERTY_USAGE_DEFAULT_INTL),_SCS("set_text"),_SCS("get_text"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL, "dialog/hide_on_ok"),_SCS("set_hide_on_ok"),_SCS("get_hide_on_ok") );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue