-Conversion of most properties to a simpler syntax, easier to use by script
-Modified help to display properties GDScript can still not make use of them, though.
This commit is contained in:
@ -84,7 +84,8 @@ void ProgressBar::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(_MD("set_percent_visible","visible"),&ProgressBar::set_percent_visible);
|
||||
ClassDB::bind_method(_MD("is_percent_visible"),&ProgressBar::is_percent_visible);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL,"percent/visible"),_SCS("set_percent_visible"),_SCS("is_percent_visible"));
|
||||
ADD_GROUP("Percent","percent_");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL,"percent_visible"),_SCS("set_percent_visible"),_SCS("is_percent_visible"));
|
||||
}
|
||||
|
||||
ProgressBar::ProgressBar() {
|
||||
|
||||
Reference in New Issue
Block a user