HKI Core
OpenWebsite.cs
Go to the documentation of this file.
1 using UnityEngine;
2 
3 namespace HKI.Core.Misc
4 {
8  public class OpenWebsite : MonoBehaviour
9  {
10  // Public variables
11  [SerializeField] string URL = "";
12 
13  // Interface function
14  public void OpenURL()
15  {
16  Application.OpenURL(URL);
17  }
18  }
19 }
This MonoBehaviour opens a website with a given URL. This can be usefull to open a website via a butt...
Definition: OpenWebsite.cs:8