- Home /
Question by
haninhassan · Jan 29, 2020 at 11:52 AM ·
uibuttonsvuforiavirtual
,Go to URL Virtual Button
Hi, Im a super newbie with both unity and Vuforia , Im creating a simple ar poster with a button to go to a url. I've watched every video tutorial out there but nothing works. If I create a UI button it doesn't show in preview mode. If I create a virtual button and add the script as a component to the ImageTarget the button appears but its not clickable.
I'm using the following code which is a combo of Youtube and random blogs so its a mess (don't judge), it works for UI buttons I guess but not for Virtual ones?
using UnityEngine; using System.Collections;
public class goURL : MonoBehaviour {
public void onClick(){
Application.OpenURL("https://www.expo2020dubai.com/en/tickets/catalogue");
}
}
pleaseee help ! Hanin
Comment