Answer the question
In order to leave comments, you need to log in
How to create a window from under Monobehavour?
I created a blank window from EditorWindow, but I cannot access it from the class from MonoBehavour.
how to get to window class?
Answer the question
In order to leave comments, you need to log in
EditorWindow is an editor and it works only in it, after building the project there is no access to the UnityEditor assembly. And it serves to serve MonoBehavour components, and not vice versa. If you want to somehow influence it, then create some fields in the component, and already in the editor window you check them and change your logic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question