I've created my own sprite renderer using Graphics.DrawMesh() and drawing them in editor mode too. Now i facing a problem: I cannot select sprite with mouse.
So the question is: how can I specify bounds of the object, to let the editor knows the area that can be clicked on to select an object?
Step 1: click on the icon above the transform component (left from GameObject name)

Step 2: select one of the colorful oval icons to mark your object. It becomes selectable in scene (editor only)

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With