Updated visuals and polish
This commit is contained in:
13
Assets/Scripts/UI/StartButton.cs
Normal file
13
Assets/Scripts/UI/StartButton.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class StartButton : MonoBehaviour
|
||||
{
|
||||
void OnMouseDown()
|
||||
{
|
||||
Debug.Log("Load scene");
|
||||
SceneManager.LoadScene("main", LoadSceneMode.Single);
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/UI/StartButton.cs.meta
Normal file
11
Assets/Scripts/UI/StartButton.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1b337193e0d28041920b5b3dea2f612
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user