Hi,
I need a feature like this (PS this will contribute to an OpenSource project I will publish in a month and is the Unity-Integration part :)!..
- User clicks on a button inside a custom inspector
- Mouse pointer is changed to a “camera” symbol or something
- User selects a rectangle inside the current editor view of the scene, just like you can drag a rectangle for selecting objects right now
3.5) Preferably, the standard “select objects” functionality that normally happens now, should also be disabled during this process. - The coordinates&dimensions of this rectangle need to be intercepted by my script
- Mouse cursor changes back to normal
- I also need the editor view camera, especially the transformation matricies. Right now I can only get the ones for the Game-View, but that is insufficent, I need the one from the editor window!
Feature 3, 4 and 6 are crucial. The rest would be nice to have. Right now I can’t figure out anything but the first one LOL.
Some pointers would be nice. I don’t need code in particular (would be nice though), API docs or whatever is normally sufficient, I just have no idea how to implement these features right now, since its Editor, I only now how to do that in Game-Mode.
Thanks!