This commit is contained in:
Rapandrasmus
2023-01-31 17:16:01 +01:00
committed by GitHub
parent 3d3575301f
commit 99d987065d
5 changed files with 49 additions and 6 deletions

View File

@ -16,6 +16,7 @@ namespace HeavenStudio.Games.Scripts_Spaceball
public float startBeat;
public bool high;
public bool isTacobell;
public Transform Holder;
public SpriteRenderer Sprite;
@ -89,6 +90,10 @@ namespace HeavenStudio.Games.Scripts_Spaceball
hitPos = Holder.localPosition;
hitRot = Holder.eulerAngles.z;
if (isTacobell)
{
Jukebox.PlayOneShotGame("spaceball/tacobell");
}
Jukebox.PlayOneShotGame("spaceball/hit");
// jank fix for a bug with autoplay - freeform