Replies: 1 comment 5 replies
-
Can you give any concrete use cases for this feature? Most scripting languages don't feature pointers/references like this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the project you are working on
Implementing something similar to references in c++ then you will be able to set variable value from its reference.
Syntax
var int_ref:Ref[float]
int_ref = &int_var
# or
int_ref = ref_of(int_var)
Describe the problem or limitation you are having in your project
N/A
Describe the feature / enhancement and how it helps to overcome the problem or limitation
N/A
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
N/A
If this enhancement will not be used often, can it be worked around with a few lines of script?
N/A
Is there a reason why this should be core and not an add-on in the asset library?
THIS NEED TO BE IMPLEMENTED ON THE GDSCRIPT PARSER.
Beta Was this translation helpful? Give feedback.
All reactions