How to get rect a window of editor?
I do create a custom editor for tiles map. And me need to get active area (Rect or size of w&h) a window of editor (see screenshot). It's need for to create a EditorWindow with coordinates on screenshot.
Screen.height & Screen.width giving me incorrectly size - It's a size of my "main camera"
Screen.currentResolution.height & Screen.currentResolution.width giving me now resolution my monitor. If i will take this options, then i not create correctly interface for users use different monitors and resolution.
Your answer
Follow this Question
Related Questions
UIElements - Horizontal scrolling is not working in ScrollView even with ScrollViewMode.Horizontal. 0 Answers
Editor Window 1 Answer
Lock the cursor inside the scene editor window ? 0 Answers
Modify Array in Editor Window - 2020+ 0 Answers
How to Have a ReoderableList in a Custom Editor Window 1 Answer