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
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 | 19 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.

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
40,796 users