I saw this post on the New Unity forums that were rolled back, but I had the same question so I was reposting it here.
Hey, unfortunately not super helpful, but the intent is to use RectTransform in this case. However, I do think it makes sense for a component to be able to override the “GetBounds” behavior, rather than the Tool looking for specific components. I’ve made of note of it.
@shawn_1 My intent is to give my own functionality to the blue "dot/handles that show up n the Unity editor in scene view, but from what you’re saying it sounds like there is no way to override that functionality at the current moment?
Can’t think of a way to do it right now. I wouldn’t be surprised if it were possible with some hackery, but nothing obvious is jumping out at me. In general, extending the scene view tools is not straight forward currently. It’s on our radar and we’re wanting to not only improve the tools in the scene view, but make them more customizable/extendable.
What is the status of this? Is there any way to accomplish what Ben suggested? I need something similar and I can’t find a way to do it.
Any update on the status of this? Has anyone accomplished overriding the rect tool with custom bounds?
Any update on this? @shawn_1
Note: I found out the rect handle works without having to render if you add the MeshRenderer and disable it. Not ideal, but a decent hack.