-
Notifications
You must be signed in to change notification settings - Fork 1
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
Shorthand for export nodes #17
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Problem:
When using an exported node in a scene, it is common practice to write two lines: one for the export, and another for loading the node.
For example, if you wanted to use a Camera node from your scene, you would probably do this:
This method wastes an extra line for every exported node! This is not good enough.
Solution:
There is a lesser-known method for using exported nodes in one line. For example, the shorthand for the code written above would be this:
The text was updated successfully, but these errors were encountered: