diff --git a/Assets/_Game/Scripts/Core/GameController.cs b/Assets/_Game/Scripts/Core/GameController.cs index 0064f2c..628335e 100644 --- a/Assets/_Game/Scripts/Core/GameController.cs +++ b/Assets/_Game/Scripts/Core/GameController.cs @@ -37,7 +37,7 @@ public void GameOver(){ } Destroy(planet); Destroy(playerRoot); - StartCoroutine(EndgameTimer(5)); + StartCoroutine(EndgameTimer(3)); StartCoroutine(RumbleHandler.Rumble(0, 0)); } diff --git a/Assets/_Game/Scripts/Player/Fire.cs b/Assets/_Game/Scripts/Player/Fire.cs index 0a7ccf3..4d07bc8 100644 --- a/Assets/_Game/Scripts/Player/Fire.cs +++ b/Assets/_Game/Scripts/Player/Fire.cs @@ -7,15 +7,15 @@ public class Fire : MonoBehaviour [SerializeField] private float offset; - private AudioSource audio; + private AudioSource a; private void Awake(){ - audio = GetComponent(); + a = GetComponent(); } private void Update(){ if(Input.GetButtonDown("Fire1")){ - audio.PlayOneShot(audio.clip); + a.PlayOneShot(a.clip); Instantiate(projectilePrefab, transform.position + transform.up * offset, transform.rotation); StartCoroutine(RumbleHandler.Rumble(0.1f, 0.5f)); } diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index d6bf53a..0b8e6a6 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -13,7 +13,7 @@ PlayerSettings: useOnDemandResources: 0 accelerometerFrequency: 60 companyName: DefaultCompany - productName: asteroids-game + productName: Asteroids defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} @@ -118,7 +118,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 0.1 + bundleVersion: alpha-0.1 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0