- Home /
Question by
Jar3k · Jun 27, 2015 at 12:42 AM ·
editoreditor-scripting
Drawing texture/sprite in editor view in world space
I need to draw texture/sprite in editor view in world space including scaling.
What would I imagine? Something like Scene.Draw("sprite.png", 0, 0, 1, 1) which translates - draw sprite.png at scene origin (0,0) with 1 unit of Unity size measure for width and height, so when i zoom out there will be tiny square when I zoom in it can stretch across the whole screen.
How would it be possible to do something like this? And possibly with rotations.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613201438im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
applying toon shading to all 3d meshes at once 1 Answer
Drop down selection list 1 Answer
How to record hideFlags for Undo/Redo 0 Answers
Editor MouseDrag issues 2 Answers
Changes to Object made in custom Editor Window don't persist 0 Answers