Search Unity

Make a 3D object interactable like a button

Discussion in 'Vuforia' started by UnaiLz, Oct 23, 2018.

  1. UnaiLz

    UnaiLz

    Joined:
    Dec 12, 2015
    Posts:
    46
    Hi there!

    I was developing an app and now, they asked me (nicely xD) to change the entire app from GVR to AR.

    Now, I had a lot of stuff done but I was thinking, just to stay with the same concept as the app was before, if I coud make an object interactable with the finger, like the object was a UI button. That woud help me to save tons of hours of work.

    Thank you all, have a nice day ^^
     
  2. UnaiLz

    UnaiLz

    Joined:
    Dec 12, 2015
    Posts:
    46
    Aswering my own question (for anyone who coud need it) I just used the OnMouseDown and OnMouseUp functions and then if(Input.GetButtonDown("Fire1")) and it worked.