Merge branch 'main' of https://github.com/orsolya-st/gamejam_050626
This commit is contained in:
@@ -38,7 +38,6 @@ public class DropletMovement : MonoBehaviour
|
|||||||
TreeSpawner.treeCount = 0;
|
TreeSpawner.treeCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Obsolete]
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if (isDashing || isDropping)
|
if (isDashing || isDropping)
|
||||||
@@ -63,7 +62,7 @@ public class DropletMovement : MonoBehaviour
|
|||||||
|
|
||||||
//Jump animation
|
//Jump animation
|
||||||
|
|
||||||
if (rb.linearVelocityY < -0.5 && !isGrounded)
|
if (rb.linearVelocityY < -1f && !isGrounded)
|
||||||
{
|
{
|
||||||
animator.SetBool("Falling", true);
|
animator.SetBool("Falling", true);
|
||||||
} else
|
} else
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user