mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-30 21:40:14 +02:00
Fan Club: landing sound
This commit is contained in:
parent
f6269d1acb
commit
a84b8858d6
@ -191,10 +191,14 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
|||||||
{
|
{
|
||||||
motionRoot.transform.localPosition = new Vector3(0, 0);
|
motionRoot.transform.localPosition = new Vector3(0, 0);
|
||||||
shadow.transform.localScale = new Vector3(1.4f, 1.4f, 1f);
|
shadow.transform.localScale = new Vector3(1.4f, 1.4f, 1f);
|
||||||
if (hasJumped && player)
|
if (hasJumped)
|
||||||
{
|
{
|
||||||
animator.Play("FanPrepare", 0, 0);
|
Jukebox.PlayOneShotGame("fanClub/landing_impact", pitch: UnityEngine.Random.Range(0.95f, 1f), volume: 1f/4);
|
||||||
stopBeat = false;
|
if (player)
|
||||||
|
{
|
||||||
|
animator.Play("FanPrepare", 0, 0);
|
||||||
|
stopBeat = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
hasJumped = false;
|
hasJumped = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user