Closed ask-a-lie closed 5 years ago
I face to problem that it could not detect a reload in core.instance function. You can reproduce the problem by scene reloading in example project.
core.instance
I think it is because __dm_script_instance__ has been removed in Defold 1.2.151. ref: Defold Forum
__dm_script_instance__
https://github.com/britzl/gooey/blob/870512152b3da4fc6764f1d5ed397ae0dd0bee8b/gooey/internal/core.lua#L110-L117
Currently, I added temporary reset function in my local and call this for detecting a reload of gui script.
I face to problem that it could not detect a reload in
core.instance
function. You can reproduce the problem by scene reloading in example project.I think it is because
__dm_script_instance__
has been removed in Defold 1.2.151. ref: Defold Forumhttps://github.com/britzl/gooey/blob/870512152b3da4fc6764f1d5ed397ae0dd0bee8b/gooey/internal/core.lua#L110-L117
Currently, I added temporary reset function in my local and call this for detecting a reload of gui script.