0 votes

It's working of course, but if you change the node hirarchy it will mess up. Now this is of course easy to debug, but I just wondered if there's a better way. Some people mentioned signal connecting through inspector, but obviously this is only safer for nodes inside one scene. Any ideas?

in Engine by (840 points)

1 Answer

+1 vote
Best answer

You can use signals, groups, find_node(), referencing through the inspector (export variables), the $ sign (which is the same with get node)

by (400 points)
selected by
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 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 webmaster@godotengine.org with your username.