mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:57:39 +02:00
DJ School sounds
This commit is contained in:
34
Assets/Scripts/Games/DJSchool/DJSchool.cs
Normal file
34
Assets/Scripts/Games/DJSchool/DJSchool.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using RhythmHeavenMania.Util;
|
||||
|
||||
namespace RhythmHeavenMania.Games.DJSchool
|
||||
{
|
||||
public class DJSchool : Minigame
|
||||
{
|
||||
public static DJSchool instance { get; private set; }
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
}
|
||||
|
||||
public void BreakCmon(float beat)
|
||||
{
|
||||
MultiSound.Play(new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound("djSchool/breakCmon1", beat),
|
||||
new MultiSound.Sound("djSchool/breakCmon2", beat + 1f),
|
||||
new MultiSound.Sound("djSchool/ooh", beat + 2f),
|
||||
});
|
||||
}
|
||||
|
||||
public void ScratchoHey(float beat)
|
||||
{
|
||||
MultiSound.Play(new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound("djSchool/scratchoHey1", beat),
|
||||
new MultiSound.Sound("djSchool/scratchoHey2", beat + 1f),
|
||||
new MultiSound.Sound("djSchool/hey", beat + 2f),
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
11
Assets/Scripts/Games/DJSchool/DJSchool.cs.meta
Normal file
11
Assets/Scripts/Games/DJSchool/DJSchool.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 36f587267a500e643bcbf5b9c04bb1b5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user