mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename legible_unique_name param to force_readable_name
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
This commit is contained in:
parent
fffdbb38e3
commit
f577bae76f
3 changed files with 13 additions and 13 deletions
|
|
@ -303,8 +303,8 @@ public:
|
|||
StringName get_name() const;
|
||||
void set_name(const String &p_name);
|
||||
|
||||
void add_child(Node *p_child, bool p_legible_unique_name = false, InternalMode p_internal = INTERNAL_MODE_DISABLED);
|
||||
void add_sibling(Node *p_sibling, bool p_legible_unique_name = false);
|
||||
void add_child(Node *p_child, bool p_force_readable_name = false, InternalMode p_internal = INTERNAL_MODE_DISABLED);
|
||||
void add_sibling(Node *p_sibling, bool p_force_readable_name = false);
|
||||
void remove_child(Node *p_child);
|
||||
|
||||
int get_child_count(bool p_include_internal = true) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue