Merge branch 'main' of https://github.com/orsolya-st/gamejam_050626
This commit is contained in:
@@ -62,13 +62,7 @@ public class DropletMovement : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Jump animation
|
//Jump animation
|
||||||
if (rb.linearVelocityY > 1)
|
|
||||||
{
|
|
||||||
animator.SetBool("Jumping", true);
|
|
||||||
} else
|
|
||||||
{
|
|
||||||
animator.SetBool("Jumping", false);
|
|
||||||
}
|
|
||||||
if (rb.linearVelocityY < -0.5 && !isGrounded)
|
if (rb.linearVelocityY < -0.5 && !isGrounded)
|
||||||
{
|
{
|
||||||
animator.SetBool("Falling", true);
|
animator.SetBool("Falling", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user