Jump to content

Accessing selected nodes in Unigine Editor


photo

Recommended Posts

Hi guys,

 

I've tried to get the selected nodes in the editor, but no avail yet. When I inspect the editor source code, I can see that editor2.selection is what I need, but I could not make it run on the editor since it generates an "unknown token" error when I use editor2 global in my project scripts. Any hints? Is it an internal variable which is not allowed to use externally, or something else? Thanks in advance.

Link to comment
×
×
  • Create New...