How to create a box from under Monobehavour?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
13 views
I created a blank Windows from EditorWindow, but to go from a class from MonoBehavour can't.
how to get to the window class?
by | 13 views

1 Answer

0 like 0 dislike
EditorWindow is an editor and it works only there, after building the project access to the UnityEditor Assembly is not. And it is for service components MonoBehavour, and not Vice versa. If you want to influence him, in component, create some fields, and in the editor window, check them, and change their logic.
by

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
35,595 users