HKI Core
HKI Core
Misc
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
}
HKI.Core.Misc.OpenWebsite
This MonoBehaviour opens a website with a given URL. This can be usefull to open a website via a butt...
Definition:
OpenWebsite.cs:8
HKI.Core.Misc.OpenWebsite.OpenURL
void OpenURL()
Definition:
OpenWebsite.cs:14
UnityEngine
HKI
Generated by
1.8.13