Append index to original name when node names conflict instead of renaming #11621
OscarCookeAbbott
started this conversation in
Engine Core
Replies: 2 comments
-
I am not against your proposal but I want to point out you can address this somewhat yourself by setting the name property:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This is already supported, you just need to enable it, see |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the annoyances I currently encounter when instancing multiple scenes, for projectiles and such, is that all but the first instance is renamed to
@<Type>@<Index>
, such as@Node3D@32
or@Timer@47
. This makes it difficult to track what is happening, especially when debugging.Could we change it so that the
@<Index>
is just appended to the original node name?For example instead of
Enemy
,@Node3D@13
we would getEnemy
,Enemy@13
etc. We could also maybe consider changing the@
to a#
to make the reason for the addition more intuitive to new users. Many other game engines and frameworks use a similar method to handle name conflicts.Beta Was this translation helpful? Give feedback.
All reactions