mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Name nodes added from drag & drop by name_casing
(cherry picked from commit 07a8f0fe38
)
This commit is contained in:
parent
d46d66020e
commit
f807c7e569
2 changed files with 22 additions and 7 deletions
|
@ -64,6 +64,12 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
enum NameCasing {
|
||||
NAME_CASING_PASCAL_CASE,
|
||||
NAME_CASING_CAMEL_CASE,
|
||||
NAME_CASING_SNAKE_CASE
|
||||
};
|
||||
|
||||
struct Comparator {
|
||||
bool operator()(const Node *p_a, const Node *p_b) const { return p_b->is_greater_than(p_a); }
|
||||
};
|
||||
|
@ -138,12 +144,6 @@ private:
|
|||
|
||||
} data;
|
||||
|
||||
enum NameCasing {
|
||||
NAME_CASING_PASCAL_CASE,
|
||||
NAME_CASING_CAMEL_CASE,
|
||||
NAME_CASING_SNAKE_CASE
|
||||
};
|
||||
|
||||
Ref<MultiplayerAPI> multiplayer;
|
||||
|
||||
void _print_tree_pretty(const String &prefix, const bool last);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue