Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | patatra |
Hye everyone,
How do you do in an addon to group all the references of the nodes of a scene in the same script.
for example in the node editor :
onready var ToolBar = $Main/ToolBar
onready var FileMenu = $Main/ToolBar/FileMenu
#onready var Workspace = $Main/Workspace
Then in another script do
onready var _edt = $"../../../.."
_edt.ToolBar
Normally what I do is not possible because of the launch of the nodes but at the same time it seems cleaner that everything is in the same place. Is there a way or is it a waste of time?
Good Day,