mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
Fork Lifter food item rotation bug fixed
This commit is contained in:
parent
79fc4c8f8d
commit
18edfde4fe
2 changed files with 3 additions and 2 deletions
|
@ -12351,7 +12351,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
level: {fileID: 0}
|
level: {fileID: 0}
|
||||||
music: {fileID: 8300000, guid: c0b3e65059fb3cd49aa056342f2246c8, type: 3}
|
music: {fileID: 0}
|
||||||
debugUI: 0
|
debugUI: 0
|
||||||
playOnStart: 0
|
playOnStart: 0
|
||||||
editor: 1
|
editor: 1
|
||||||
|
|
|
@ -51,6 +51,7 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||||
|
|
||||||
pea.transform.parent = ForkLifterPlayer.instance.perfect.transform;
|
pea.transform.parent = ForkLifterPlayer.instance.perfect.transform;
|
||||||
pea.transform.localScale = Vector2.one;
|
pea.transform.localScale = Vector2.one;
|
||||||
|
pea.transform.localRotation = Quaternion.Euler(0, 0, 0);
|
||||||
|
|
||||||
pea.transform.localPosition = Vector3.zero;
|
pea.transform.localPosition = Vector3.zero;
|
||||||
|
|
||||||
|
@ -198,7 +199,7 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||||
ForkLifterPlayer.instance.hitOnFrame++;
|
ForkLifterPlayer.instance.hitOnFrame++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (normalizedBeat > 1.35f)
|
if (normalizedBeat > Minigame.EndTime())
|
||||||
{
|
{
|
||||||
Jukebox.PlayOneShot("audience/disappointed");
|
Jukebox.PlayOneShot("audience/disappointed");
|
||||||
Destroy(this.gameObject);
|
Destroy(this.gameObject);
|
||||||
|
|
Loading…
Reference in a new issue