textures and pause game
This commit is contained in:
1 parent
8a0162cf9d
commit
8472073b56
11 files changed
+43
-23
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user