mirror of
https://github.com/ConjureETS/Labo_2_equ_4_a15.git
synced 2026-03-24 01:10:58 +00:00
Menu Screen
Le bouton play fonction, je vais essayer de modifier les inputs par le bouton option, comme Yan proposait.
This commit is contained in:
parent
a7117b2f4e
commit
347f2d3ff2
11
Assets/Script/ChangeScene.cs
Normal file
11
Assets/Script/ChangeScene.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ChangeScene : MonoBehaviour {
|
||||
|
||||
|
||||
public void ChangeToScene (string sceneToChangeTo) {
|
||||
|
||||
Application.LoadLevel (sceneToChangeTo);
|
||||
}
|
||||
}
|
||||
12
Assets/Script/ChangeScene.cs.meta
Normal file
12
Assets/Script/ChangeScene.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 256b79b746352482780a898da147e53b
|
||||
timeCreated: 1448665687
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/_Scene/TheMenu.unity
Normal file
BIN
Assets/_Scene/TheMenu.unity
Normal file
Binary file not shown.
8
Assets/_Scene/TheMenu.unity.meta
Normal file
8
Assets/_Scene/TheMenu.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a440713447f4146a1a59e44a698a6fbe
|
||||
timeCreated: 1448665169
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user