using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using MoreMountains.Tools;
namespace MoreMountains.Tools
{
///
/// A class used to open a URL specified in its inspector
///
[AddComponentMenu("More Mountains/Tools/Utilities/MMOpenURL")]
public class MMOpenURL : MonoBehaviour
{
/// the URL to open when calling OpenURL()
public string DestinationURL;
///
/// Opens the URL specified in the DestinationURL field
///
public virtual void OpenURL()
{
Application.OpenURL(DestinationURL);
}
}
}