textures and pause game

This commit is contained in:
ntr committed 2023-10-03 16:37:17 +11:00
1 parent 8a0162cf9d
commit 8472073b56
11 files changed
+43 -23

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ public class Timing: MonoBehaviour {
public bool timerEnabled;
[SerializeField]
ShipAudio audio;
ShipAudio shipAudio;
public string mapName;
public double sectorTime;
@@ -111,7 +111,7 @@ public class Timing: MonoBehaviour {
Debug.Log($"{sectorTimes.Count} / {sectors.Length}");
// play a sound :)
if (audio != null) audio.PlayNoise();
if (shipAudio != null) shipAudio.PlayNoise();
// restart the timer for the next sector
sectorStart = Time.timeAsDouble;