Add game downloads
This commit is contained in:
14035 files changed
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ButtonHandler : MonoBehaviour
|
||||
{
|
||||
private void Awake()
|
||||
{
|
||||
GameObject.Find("Canvas/Button").GetComponent<Button>().onClick.AddListener(TaskOnClick);
|
||||
}
|
||||
|
||||
private void TaskOnClick()
|
||||
{
|
||||
string text = "/windows";
|
||||
Application.OpenURL("https://foodiedash.xytriza.com/download" + text);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user