Change Node set_name to use StringName
This commit is contained in:
@ -410,6 +410,11 @@ protected:
|
||||
GDVIRTUAL0RC(RID, _get_focused_accessibility_element)
|
||||
GDVIRTUAL1RC(String, _get_accessibility_container_name, const Node *)
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
void _set_name_bind_compat_76560(const String &p_name);
|
||||
static void _bind_compatibility_methods();
|
||||
#endif
|
||||
|
||||
public:
|
||||
enum {
|
||||
// You can make your own, but don't use the same numbers as other notifications in other nodes.
|
||||
@ -473,7 +478,7 @@ public:
|
||||
|
||||
StringName get_name() const;
|
||||
String get_description() const;
|
||||
void set_name(const String &p_name);
|
||||
void set_name(const StringName &p_name);
|
||||
|
||||
InternalMode get_internal_mode() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user