picking on editor

Avatar
  • updated
  • Unity's Fault

in editor shapes like cube (draw in script on OnDrawGizmo) block picking object behind the cube and unselect all.

shapes can not be ignored ?

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is because of a limitation in how Unity works and how they do selection picking, unfortunately there is no way to solve this other than drawing invisible gizmos that will be used for selection instead

Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is because of a limitation in how Unity works and how they do selection picking, unfortunately there is no way to solve this other than drawing invisible gizmos that will be used for selection instead