mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Many fixes to visual script, changed virtuals override for a proper selector.
This commit is contained in:
parent
aabbd00284
commit
1c5376ae59
7 changed files with 130 additions and 134 deletions
|
|
@ -55,6 +55,7 @@ class PropertySelector : public ConfirmationDialog {
|
|||
String base_type;
|
||||
ObjectID script;
|
||||
Object *instance;
|
||||
bool virtuals_only;
|
||||
|
||||
void _item_selected();
|
||||
|
||||
|
|
@ -63,7 +64,7 @@ protected:
|
|||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
void select_method_from_base_type(const String &p_base, const String &p_current = "");
|
||||
void select_method_from_base_type(const String &p_base, const String &p_current = "", bool p_virtuals_only = false);
|
||||
void select_method_from_script(const Ref<Script> &p_script, const String &p_current = "");
|
||||
void select_method_from_basic_type(Variant::Type p_type, const String &p_current = "");
|
||||
void select_method_from_instance(Object *p_instance, const String &p_current = "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue