Jump to content

Accessing selected nodes in Unigine Editor


photo

Recommended Posts

Posted

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.

Posted

Hi Ozan,

 

There is currently no option to get access to the Editor 2 (Experimental) nodes. For the Editor 1 you can check the sample plugin that available in <SDK>/data/editor/plugins/samples/plugin.cpp.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...