Map selector (still in progress)

This commit is contained in:
PokingPines
2024-04-24 17:42:39 +02:00
parent bcd53c853f
commit 3416c96f06
16 changed files with 1629 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1869669a0d037724891e943f32de3377
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MapSelectorScript : MonoBehaviour
{
public int scene;
public void change_to_track2(){
scene = 2;
}
public void change_to_track3(){
scene = 3;
}
public void selectMap(){
SceneManager.LoadScene(scene);
}
}

View File

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