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:
Christer Warén
2020-02-21 04:29:40 +02:00
parent 521b480894
commit 804f53c0b6
3 changed files with 102 additions and 0 deletions

View 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");
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7d07667923b95c744981ebd5983f1e23
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: