Revision 171:4f53dc842587
b/Assets/Scripts/GuiManager.cs | ||
---|---|---|
13 | 13 |
private float hourSliderValue = 0.0F; |
14 | 14 |
private TOD_Time tod; |
15 | 15 |
private float lastTODtime; // store the last value of TOD time before sliding |
16 |
private int sceneNumber = 0; |
|
17 |
private int totalScenes = 2; |
|
16 | 18 |
|
17 | 19 |
void OnGUI() { |
18 | 20 |
if (hourSlider) { |
... | ... | |
62 | 64 |
playerMarker.GetComponent<MeshRenderer> ().enabled = !playerCamera.enabled; |
63 | 65 |
|
64 | 66 |
} |
67 |
if (Input.GetKeyUp (".")) { |
|
68 |
sceneNumber += 1 % totalScenes; |
|
69 |
Application.LoadLevel(sceneNumber); |
|
70 |
} |
|
65 | 71 |
} |
66 | 72 |
} |
b/ProjectSettings/EditorBuildSettings.asset | ||
---|---|---|
9 | 9 |
path: Assets/Tidmarsh.unity |
10 | 10 |
- enabled: 1 |
11 | 11 |
path: Assets/_Scenes/Cells 4,5.unity |
12 |
- enabled: 0
|
|
12 |
- enabled: 1
|
|
13 | 13 |
path: Assets/_Scenes/Cells 3,4.unity |
b/ProjectSettings/ProjectSettings.asset | ||
---|---|---|
95 | 95 |
metroEnableIndependentInputSource: 0 |
96 | 96 |
metroEnableLowLatencyPresentationAPI: 0 |
97 | 97 |
xboxOneDisableKinectGpuReservation: 0 |
98 |
virtualRealitySupported: 0
|
|
98 |
virtualRealitySupported: 1
|
|
99 | 99 |
productGUID: d1c379897f53a4a42a0477772addef41 |
100 | 100 |
AndroidBundleVersionCode: 1 |
101 | 101 |
AndroidMinSdkVersion: 9 |
Also available in: Unified diff