1
0
Fork 0

fixed delay etc.

This commit is contained in:
Himusoka 2018-04-23 15:11:54 +02:00
parent f685447462
commit 9a974eda8b

View file

@ -13,7 +13,7 @@ public class AudioControl : MonoBehaviour
public enum Sfx { shoot, explosion, mobattack }; public enum Sfx { shoot, explosion, mobattack };
private const float lvlbgm = 37.879f; private const float lvlbgm = 6.79f;
private const float gobgm = 14.406f; private const float gobgm = 14.406f;
private const float loopdelay = 0.05f; private const float loopdelay = 0.05f;
private bool menu; private bool menu;
@ -49,7 +49,7 @@ public class AudioControl : MonoBehaviour
public void LevelBgm() public void LevelBgm()
{ {
maintheme.PlayDelayed(1.3f); maintheme.Play();
} }
public void SfxPlay(int sound) public void SfxPlay(int sound)