mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-08 10:45:09 +00:00
Goodbye tidalwav we hardly knew ye (+ BTSDS piano reacts to song pitch)
This commit is contained in:
parent
1d564b4910
commit
f7838d1da2
3 changed files with 1 additions and 9 deletions
|
@ -187,7 +187,7 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS
|
|||
|
||||
public void PlayPiano(float beat, float length, int semiTones)
|
||||
{
|
||||
var pianoPitch = Mathf.Pow(2f, (1f / 12f) * semiTones);
|
||||
var pianoPitch = Mathf.Pow(2f, (1f / 12f) * semiTones) *Conductor.instance.musicSource.pitch;
|
||||
var pianoSource = Jukebox.PlayOneShotGame("builtToScaleDS/Piano", -1, pianoPitch, 0.8f, true);
|
||||
|
||||
BeatAction.New(gameObject, new List<BeatAction.Action>()
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"com.unity.timeline": "1.4.8",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"jillejr.newtonsoft.json-for-unity.converters": "1.3.0",
|
||||
"net.skaillz.tidalwav": "https://github.com/SkaillZ/tidalwav.git",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
|
|
|
@ -158,13 +158,6 @@
|
|||
"dependencies": {},
|
||||
"url": "https://npm.cloudsmith.io/jillejr/newtonsoft-json-for-unity"
|
||||
},
|
||||
"net.skaillz.tidalwav": {
|
||||
"version": "https://github.com/SkaillZ/tidalwav.git",
|
||||
"depth": 0,
|
||||
"source": "git",
|
||||
"dependencies": {},
|
||||
"hash": "0061c1c04e04f024c1649cf4c1d6b3400c188948"
|
||||
},
|
||||
"com.unity.modules.ai": {
|
||||
"version": "1.0.0",
|
||||
"depth": 0,
|
||||
|
|
Loading…
Reference in a new issue