0 votes

so coming from game maker and unity I was a bit baffled by the connect function but I mostly get it. however I was wondering what you all thought of using the ui to make connections and run functions off of that vs making your own connections in the script and running those. any benefits or downsides to doing it either way?

in Engine by (12 points)

1 Answer

+1 vote

It's really just a personal preference. There's no practical difference.

If you make the connections in the UI, you can see them all in the "Node" tab of the emitting object, while if you do it in code, you have to hunt through looking for connect statements.

On the other hand, if you're instancing objects and making dynamic connections, or if you need to connect a lot of objects, doing it in code is going to be much easier.

by (21,940 points)

that makes sense. so spamming prefabs is easier done in code and singular objects is a toss up.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.