Simple script of non-drawcall but can hit input for unity.
So you can create cpu-friendly invisible Button.
- Download RaycastDetector.unitypackage and Import it to your Unity Project.
- You can see RaycastDetector.cs
- Attach this script component to Button component instead of Image component.
Now, You can create completely cpu-friendly invisible Button :)
If you want how it workds, please see sample project. (It created Unity version 2017.4.3f1)