﻿using UnityEngine;
using System.Collections;

public class AttachWeblink : MonoBehaviour
{

      /*************************************************************************
   *
   * ARConnex CONFIDENTIAL
   * __________________
   *
   *  [2017] - [2021] ARConnex Incorporated
   *  All Rights Reserved.
   *
   * NOTICE:  All information contained herein is, and remains
   * the property of ARConnex Incorporated and its suppliers,
   * if any.  The intellectual and technical concepts contained
   * herein are proprietary to ARConnex Incorporated
   * and its suppliers and may be covered by U.S. and Foreign Patents,
   * patents in process, and are protected by trade secret or copyright law.
   * Dissemination of this information or reproduction of this material
   * is strictly forbidden unless prior written permission is obtained
   * from ARConnex Incorporated.
   */

   // How to use
   // Attach this component to any UI element
   // Or attach to any GameObject with a Collider
   // Enter the URL you want loaded when clicked.

   [Header("Enter the URL you want loaded when clicked")]
   public string customURL;

   public void OpenCustomLink()
    {
        Application.OpenURL(customURL);
    }
}
