Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | scrubswithnosleeves |
Hey All,
As the title says, I don’t understand how to use the edit()
function from the EditorPlugin Class. If you could explain it that would be much appreciated.
The reason for my interest is to get my EditorInspectorPlugin
to “notice” some nodes I am injecting into the inspector. The EditorInspectorPlugin
description says:
“When an object is edited, the
can_handle
function is called”
I was trying to use it by calling it from the script of the node I was injecting into the inspector: EditorPlugin.edit(self)
where EditorPlugin is an Autoload of the EditorPlugin.