Hi, I’m new to Unity, I have a question, the button setting I used above only works in Unity, but not in Hololens. I think I need to use a script like this for Hololens, but don’t know how to add that GameObject (which has the code to open an url). Thanks!
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using HoloToolkit.Unity.InputModule;
public class Tap : MonoBehaviour, IInputClickHandler
{
public void OnInputClicked(InputClickedEventData eventData)
{
//GameObject
}
}