PlayMaker Help & Tips > iOS Help

Detect touch GuiTexture

(1/2) > >>

tofusoup:
Is there a way to detect if I touch GuiTexture?  I can get mouse pick to work with 3d game objects, but now I'm messing around with it.  It be nice to have something similar to mouse down or mouse up that can be used on iOS.

Any tips?

I don't see anywhere where there is a "guiTexture.HitTest"

I was mostly reading this -> http://forum.unity3d.com/threads/30562-Detecting-touch-on-a-guiTexture

thanks.

giyomu:
you may want create an action maybe if you do not find something with action already set to get you there
i can eventually do a quick one if scripting action is not your cup of tea tho, i never look at it really about guitexture touch so before have to be sure it is not avalaible already lost in the pile of action already done ^^

tobbeo:
What about placing an invisible gameobject parented to the camera where your IOS GUI button is?

tofusoup:
I can place an invisible game object near it.  When I parent it the object disappears though.  Seems like it should be something that comes with PM.

I'm not good at writing scripts heh.

I can always use a GUI button for now or place an object near it.

any actual way?

tofusoup:
Yea if someone can write a script that be awesome.  I rather use GuiTexture.

For the community!  Or I pitch in some $$

But first someone check if it's doable easily in PM

thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version