Pressing NiceCat logo now will open website in a browser, also added two other links already ahead in OpenLink script.
This commit is contained in:
23
Jump Game/Assets/Scripts/Menu/OpenLink.cs
Normal file
23
Jump Game/Assets/Scripts/Menu/OpenLink.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class OpenLink : MonoBehaviour
|
||||
{
|
||||
public void Website(){
|
||||
Application.OpenURL("https://nicecat.wgi.fi");
|
||||
}
|
||||
|
||||
public void Website_GamePage(){
|
||||
Application.OpenURL("https://nicecat.wgi.fi/jump-game/");
|
||||
}
|
||||
|
||||
public void GitRepositories_Github(){
|
||||
Application.OpenURL("https://github.com/nicecat-studios/jump-game");
|
||||
}
|
||||
|
||||
public void GitRepositories_Gitlab(){
|
||||
Application.OpenURL("https://gitlab.com/nicecat-studios/jump-game");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user