This commit is contained in:
haitem 2022-01-29 21:22:24 +01:00
commit 4d1855627c

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]