滑空アニメ切り替え追加
This commit is contained in:
parent
6ce63f59f3
commit
6d81e277e3
|
|
@ -159,10 +159,12 @@ namespace MyGame.Scenes.MiniGame.Scripts
|
|||
// 滑空or落下切り替え
|
||||
if (isButtonHold)
|
||||
{
|
||||
animator.Play("Brother_pink_Gliding");
|
||||
currentFallSpeed = -flyingFallSpeed;
|
||||
}
|
||||
else
|
||||
{
|
||||
Stay();
|
||||
currentFallSpeed -= fallAcceleration * Time.deltaTime;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue