- Home /
This question was
closed Sep 02, 2011 at 10:08 AM by
Eric5h5 for the following reason:
Duplicate Question
Question by
Anonymous 1 · Sep 02, 2011 at 09:25 AM ·
androidiphoneguitexturecubehittest
[Question Duplicated] conversion of script guitexture to cube or other primitive (iphone)
Question duplicated: refer to http://answers.unity3d.com/questions/162660/conversion-of-script-guitexture-to-cube-or-other-p.html
hello folks! i have this script
function Update () {
for (var touch : Touch in Input.touches)
{
if (guiTexture.HitTest (touch.position))
{
// we are now in the guitexture
Application.LoadLevel(toLoad);
}
but i want to use something similar on a cube or sphere or such primitive so that i can detect touch on it, some help would be appreciated. Thank you
Comment
Follow this Question
Related Questions
conversion of script guitexture to cube or other primitive (iphone) 2 Answers
Strange collision problem with block and terrain 1 Answer
use HitTest to check if a screen area is touched 1 Answer
Detecting Touch on Iphone and Android 1 Answer
HUD on Android/iPhone : GUITexture or OnGUI (drawTexture) ? 2 Answers