mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:37:40 +02:00
Jukebox/Sound code cleanup
This commit is contained in:
@ -99,6 +99,17 @@ namespace RhythmHeavenMania.Util
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLoopParams(float endBeat, float fadeTime)
|
||||
{
|
||||
loopEndBeat = endBeat;
|
||||
this.fadeTime = fadeTime;
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
audioSource.Stop();
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
GameManager.instance.SoundObjects.Remove(gameObject);
|
||||
|
Reference in New Issue
Block a user