Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to check the current touched GameObject? #207
Comments
|
In the Tap Example, the cube checks if is touched. Take a look. |
|
You probably are not doing it TouchScript way. But in general TouchManager.Instance.GetHitTarget should work. It returns Hit object which has Target property you can use. |
I tried using TouchManager.Instance.GetHitTarget, but couldn't get the GameObject which it is touching.