Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AiTechEye |
how/can i create a variable in another scene?
eg:
var a = scene.instance()
add_child(a)
a.object = value
Do you want to create another variable or just update the value of an existing variable? Can you provide a case scenario? What are you trying to achieve?
johnygames | 2019-12-29 14:48
as the title, i trying to create a variable in a instanced scene from code.
i making a project that contains many characters used by api:s, creating variables from the api makes the work so much easier.
AiTechEye | 2019-12-29 18:00