- Home /
Question by
unity_qrj_5UYMolP0jA · Feb 28, 2021 at 07:07 PM ·
c#scripting problemeditor-scripting
Passing data between EditorWindows
I have a value in EditorWindow1, and I'm trying to use a second EditorWindow (EditorWindow2) to show a list to the user for selection. When a selection is made I want to pass back the index or an Int value back to EditorWindow1 to set the value.
Whats the best way to do this?
I have tried SendEvent, but wasn't able to figure out how to pass a value back. It just seems to detect when EditorWindow1 is closed...
Comment