hi i am new for AR Foundation and want to work on it. i want to perform some task on tap of sprite with ray-casting in AR foundation(Ar kit) like i have multiple sprite n i want to use them as a button. Please help me how i will do it.... Thanks in advance
Make sure your sprites have Colliders and then you can do something like this in Update function: if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began) { *button action* }