Skip to content

unitycoder/UnityRaycastDetector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityRaycastDetector

What's This?

Simple script of non-drawcall but can hit input for unity.
So you can create cpu-friendly invisible Button.

How to Use

  1. Download RaycastDetector.unitypackage and Import it to your Unity Project.
  2. You can see RaycastDetector.cs
  3. 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)

Author

Goropocha

License

The MIT License

About

Simple script of non-drawcall but can hit input for unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%