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

Support on-ready variable initialization #280

Open
Naros opened this issue Apr 22, 2024 · 0 comments
Open

Support on-ready variable initialization #280

Naros opened this issue Apr 22, 2024 · 0 comments
Milestone

Comments

@Naros
Copy link
Member

Naros commented Apr 22, 2024

Description

In GDScript, a user can use the following syntax to assign a value to a variable preemptively:

@onready var the_var : Node = $SceneRoot/ScenePath/TheNode

It would be helpful if users could do the same in Orchestrator without using the Init or Ready events.

Implementation ideas

No response

@Naros Naros added this to the 2.1 milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant