Should I add a class_name
to my plugin?
#8851
Closed
synalice
started this conversation in
General Discussions
Replies: 2 comments 3 replies
-
For support questions and help please turn to the other community channels, this is for discussing improvements to the engine, not a general support forum 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is no need to be passive-aggressive with the 🙂 emoji. I understand perfectly well if that's the wrong place to post such questions. I've wandered here by accident. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a plugin that is a modification of a default
Camera3D
node. It is a camera with some animations already attached to it, it is calledMyCamera3D
.Everything is fine, and I've added my node to the Create New Node menu with
add_custom_type()
. But now I wonder if I should also addclass_name MyCamera3D
to the node's script.I think I don't need this and
class_name
exists for other situations. Still, I feel like I'm missing something. I don't want to make it difficult for other people to use my node. Would there be a situation that someone needs my node to have aclass_name
?Beta Was this translation helpful? Give feedback.
All reactions