isFalling

This commit is contained in:
nexovec 2022-01-29 21:22:03 +01:00
parent 1876ef8579
commit 1c3d5538e5
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ public class PlayerController : MonoBehaviour
Rigidbody rb; Rigidbody rb;
float moveDirectionY; float moveDirectionY;
public bool isRunning = false; public bool isRunning = false;
public bool isFalling = false;
[Header("Jump")] [Header("Jump")]
public float jumpSpeed = 7.5f; public float jumpSpeed = 7.5f;
[HideInInspector] [HideInInspector]