1
0
Fork 0

Merge branch 'Sound'

This commit is contained in:
Himusoka 2018-04-23 15:12:49 +02:00
commit c914479165

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)