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");
|
||||
}
|
||||
|
||||
}
|
11
Jump Game/Assets/Scripts/Menu/OpenLink.cs.meta
Normal file
11
Jump Game/Assets/Scripts/Menu/OpenLink.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d07667923b95c744981ebd5983f1e23
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user