Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use get_node() paths directly instead of function chaining everywhere #32

Closed
bdero opened this issue Jun 14, 2016 · 0 comments
Closed

Comments

@bdero
Copy link
Member

bdero commented Jun 14, 2016

Before:

camera = get_tree().get_root().get_node("globals").camera

After:

camera = get_node("/globals").camera
@bdero bdero changed the title Use get_node() paths directly instead of function chaining Use get_node() paths directly instead of function chaining everywhere Jun 14, 2016
bdero added a commit that referenced this issue Jun 14, 2016
@bdero bdero closed this as completed in #35 Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant