mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 10:06:58 +00:00
Добавил главное меню
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a5dc7b7de898674b8e1ce57e6fef727
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class MainMenu : MonoBehaviour
|
||||
{
|
||||
public void StartGame()
|
||||
{
|
||||
SceneManager.LoadScene("Island");
|
||||
}
|
||||
|
||||
public void SourceCodeLinkClick() =>
|
||||
Application.OpenURL("https://github.com/ryzij/Cube-Tower-Defense");
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1995f0bece1e8b84bbd28677df99ade9
|
||||
Reference in New Issue
Block a user